How can I use current path and all sub folders instead of just current path?

4 Ansichten (letzte 30 Tage)
I want to use all of the subfolders in a path with all of the m files in these subfolders. Is there a way to do that. I downloaded this program: http://www.cerr.info/about.php and it can't find files in sub-folders. This program was used on MATLAB 6, but I am running 7. Do you think that might be the issue?
Thanks,
Chris

Akzeptierte Antwort

Matt Fig
Matt Fig am 6 Jun. 2011
From the command window, got to File>Set Path.
Then select Add with subfolders.

Weitere Antworten (1)

Fangjun Jiang
Fangjun Jiang am 6 Jun. 2011
Or run the command addpath(genpath(MyPath))

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by