How to know which m-file run?

5 ビュー (過去 30 日間)
Leotsing
Leotsing 2016 年 6 月 17 日
コメント済み: Leotsing 2016 年 6 月 17 日
I ran some code(suppose I do not know the content),which makes to run one or some .m-file(s),how can I know which m-file has been run?

採用された回答

Shameer Parmar
Shameer Parmar 2016 年 6 月 17 日
1. Check from command History of matlab.
OR
2. In all that files, open and put command "disp('filename')". so that it will display in the filename in command window.
  1 件のコメント
Leotsing
Leotsing 2016 年 6 月 17 日
Thank you very much,your way-2 works for me!

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

その他の回答 (1 件)

KSSV
KSSV 2016 年 6 月 17 日
There would be a command history dialogue in matlab...you can know from here what happened so far....
  1 件のコメント
Leotsing
Leotsing 2016 年 6 月 17 日
thank you very much for your help

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

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by