How to know the sequence of file in a large project
조회 수: 2 (최근 30일)
이전 댓글 표시
HI Friends,
I have a large project in which there are thousand of files. Is there a way I can know the sequencing of files given I have information about base file. Thanks.
채택된 답변
José-Luis
2012년 11월 9일
편집: José-Luis
2012년 11월 9일
doc mfilename
You could place that in all your .m files and see which ones get called. You could also look at
doc dbstack
However I still believe that placing breakpoints and going line by line is the best way to understand your code, even if it takes time.
추가 답변 (1개)
Jonathan Epperl
2012년 11월 9일
You could remove all the semicolons ";" from your scripts, in which case the result of every line will be printed into the command window.
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!