I have had this same problem, double check the function def in the first line and verify use with the HELP to see that MATLAB see the function Dennis > -----Original Message----- > From: D Lloyd [SMTP:dan.lloyd@GB.ABB.COM] > Sent: Tuesday, 19 September 2000 21:40 > To: PICLIST@MITVMA.MIT.EDU > Subject: [OT]: Matlab failing to pick up new m files? > > Hi, > > Completely off topic, but just a quick question for any Matlab users. I am > using > v5.3 and when I create a new .m file (i.e. a new function), I have to > close->restart matlab to get it to pick the new function up....otherwise > it > reports "??? Undefined function or variable..." when I try to > call the > newly created function. > > Now, I have the path of the new .m file set up correctly, so matlab knows > where > the function is - it just seems that it doesnt update what it can see in > that > directory. Is there a painless way to overcome this/am I doing something > stupid > or is it just a problem with Matlab/Windows? > > Thanks in advance, > > Dan > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's