How to know which m-file run?
3 次查看(过去 30 天)
显示 更早的评论
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154074/image.jpeg)
0 个评论
采纳的回答
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 个)
KSSV
2016-6-17
There would be a command history dialogue in matlab...you can know from here what happened so far....
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!