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

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

 採用された回答

Matt Fig
Matt Fig 2011 年 6 月 6 日

1 投票

From the command window, got to File>Set Path.
Then select Add with subfolders.

その他の回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 6 月 6 日

1 投票

Or run the command addpath(genpath(MyPath))

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

タグ

質問済み:

2011 年 6 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by