how to run function from the same folder?

31 ビュー (過去 30 日間)
Mr M.
Mr M. 2015 年 6 月 28 日
コメント済み: Geoff Hayes 2015 年 6 月 28 日
I have a script and I want to run a function which is in the same folder, but I don't want to add the whole folder to the path.
  1 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 6 月 28 日
If you don't want to the folder to the path (why not?) then just change to this directory/folder and run the script from there. (I'm assuming that the script and function are in the same folder.)

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by