how to use a function in another m file

I'm writing a code to calculate the fourier series. I need help for calling a function that I've created in another m file.

1 件のコメント

dpb
dpb 2015 年 10 月 1 日
In what way do you need help? One simply refers to the user-generated m-file by its name just as any other Matlab function. Only thing, of course, is that you must have saved the m-file in a location which is on the MATLABPATH search directory and with the name spelled correctly (including capitalization, Matlab is case-sensitive) for the name to be resolved and the function found.

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

回答 (0 件)

カテゴリ

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

タグ

質問済み:

2015 年 10 月 1 日

コメント済み:

dpb
2015 年 10 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by