function definition, where to save them?

Hi, can anyone help me where should I save the functions I create in order to use them in my command window?

 採用された回答

Wayne King
Wayne King 2012 年 1 月 31 日

0 投票

You can save them in any folder. Then you have to add that folder to the MATLAB path. Use pathtool, or addpath
For example, assume you save them in c:\mfiles
>>addpath 'c:\mfiles'
pathtool brings up a GUI to do the same thing.

1 件のコメント

K
K 2012 年 1 月 31 日
I'll try that, thankx so for the fast response!

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

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

K
K
2012 年 1 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by