Hi there, does anybody know, how to call a matlab function outside the current directory, i.e. something like [a,v]= ..\otherdirectory\function(b,d) Hope to get some help. This message was sent using the Comp.DSP web interface on www.DSPRelated.com
Matlab for Dummies
Started by ●March 8, 2005
Reply by ●March 8, 20052005-03-08
"mimo" <florian.troesch@gmx.ch> wrote in message news:i8OdnQltb4FP97DfRVn-qQ@giganews.com...> > Hi there, > > does anybody know, how to call a matlab function outside > the current directory, i.e. something like > > [a,v]= ..\otherdirectory\function(b,d) > > Hope to get some help. > > This message was sent using the Comp.DSP web interface on > www.DSPRelated.comHi mimo, you can use the path function to ensure that all of the subdirectories that your functions are located in are checked ... then you don't need to explictly give the path in the function call. Best of Luck - Mike
Reply by ●March 9, 20052005-03-09
Reply by ●March 9, 20052005-03-09
<marian.mounir@gmail.com> wrote in message news:1110412308.293167.200060@o13g2000cwo.googlegroups.com...> what is the name of thepath function?C'mon!! The very first hit in google for 'path matlab' gave me this http://www.mathworks.com/access/helpdesk/help/techdoc/ref/path.html You didn't even have to pull out your matlab documentation to find this...and yet, you could find the time to send this post and have someone else feed this to you? If you had matlab running, you could've just tried 'help path' or use their search tool in their online help. I just don't get this kind of attitude... Cheers Bhaskar