How to know which m-file run?

조회 수: 8 (최근 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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by