How to know the sequence of file in a large project

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.

3 件のコメント

José-Luis
José-Luis 2012 年 11 月 8 日
Thousands of text files?
Thousand of .mat files?
Thousands of .m files?
What do you mean by sequencing?
Harshit
Harshit 2012 年 11 月 9 日
By sequence the order in which they are executing. Well I got one using dbstop and dbstack. But it tells me execution to a particular function. Is there a way I can get a sequence of execution from beginning to ending.
Harshit
Harshit 2012 年 11 月 9 日
Ofcouse in correspondence to a particular parameter.

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

 採用された回答

José-Luis
José-Luis 2012 年 11 月 9 日
編集済み: José-Luis 2012 年 11 月 9 日

0 投票

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 件のコメント

Harshit
Harshit 2012 年 11 月 9 日
Thanks. It was the exact I was looking for.

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

その他の回答 (1 件)

Jonathan Epperl
Jonathan Epperl 2012 年 11 月 9 日

0 投票

You could remove all the semicolons ";" from your scripts, in which case the result of every line will be printed into the command window.

1 件のコメント

Harshit
Harshit 2012 年 11 月 9 日
Not possible Jonathan. It is a large project. It will take me hours and the execution is so fast that I will probably miss the line. I need something more automated.

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

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by