Calling a function file in a method

I have a function called: 'location.m', and I would like to call this function in a method in a class file that I have. Is this possible to do or is there an easier way to do this?

 採用された回答

Steven Lord
Steven Lord 2023 年 4 月 3 日

0 投票

If location.m is a function file and the function you want to call is the first function in the file, the main function, just call it like you would any other function like svd or plot or why.

その他の回答 (0 件)

カテゴリ

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

質問済み:

2023 年 4 月 3 日

コメント済み:

2023 年 4 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by