Issuing a call to a function

I'm trying to call up a function as another file, FileA, into FileB but I'm not sure what to do exactly. I tried to put my_function(FileA), my_function('FileA), my_function('FileA.m') but I just get the message "Undefined function or variable 'my_function'.". I have FileA pulled up in the left side bar with the current folder files but I'm not sure what else I need to do to fix it.
Thanks

回答 (1 件)

カテゴリ

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

質問済み:

2019 年 10 月 21 日

回答済み:

2019 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by