How to call and run one .m file in another .m file at specific place?
5 ビュー (過去 30 日間)
古いコメントを表示
DO YOU GET ME?
PLEASE ANSWER
1 件のコメント
回答 (1 件)
Adam Danz
2019 年 1 月 9 日
編集済み: Adam Danz
2019 年 1 月 9 日
If your m-file is a function, go to the line of code where you'd like to call the function and call it like this (in this example, the fake function has 2 outputs and 1 input)
[out1, out2] = myfunc(input);
If your m-file is a script, you just need to include the filename.
myfunc
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!