How to call .m file?

34 ビュー (過去 30 日間)
peyush
peyush 2015 年 7 月 22 日
コメント済み: peyush 2015 年 7 月 23 日
I have a main.m script, I want to perform some operation again and again, so I created another .m file named op.m, I need to call op.m inside main.m whenever required....how to call it inside main.m......PS: also in op.m file, should I write return at the end or it returns automatically to the main script after doing the operation?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 22 日
編集済み: Azzi Abdelmalek 2015 年 7 月 22 日
just type the name of your script
your_cript
  1 件のコメント
peyush
peyush 2015 年 7 月 23 日
thanks

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by