calling a file which is in folder in current folder

hello ppl... I want a code to call the m file which is in the other folder ... please suggest me the code. regards Madhu

 採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 22 日

0 投票

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 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by