calling a file which is in folder in current folder
4 views (last 30 days)
Show older comments
madhu T S
on 22 May 2015
Answered: Walter Roberson
on 22 May 2015
hello ppl... I want a code to call the m file which is in the other folder ... please suggest me the code. regards Madhu
0 Comments
Accepted Answer
Walter Roberson
on 22 May 2015
Add the folder to your MATLAB path. Or cd to the other directory and invoke the routine.
If the code to be invoked is a script instead of a function, see run()
0 Comments
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!