How to call m_file from another m_file????????
2 ビュー (過去 30 日間)
古いコメントを表示
hi i need to know how to call m_file from another m_file thank you
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 4 月 28 日
Just put the name of the second m-file as a command in the first one (without the .m extension)
For example, in file1.m you could call file2.m by coding
file2
If file2.m contains a function, put the arguments on the lines:
file2(pi, 3:8, 'BoogieWoogie.wmv')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!