PAUSING on function call - matlab
4 ビュー (過去 30 日間)
古いコメントを表示
I have a main matlab script that call functions, that call other functions, etc., etc. about 1000 functions in all.
I did not write it, but I would like Matlab to pause whenever a new function is called, and tell me the name of the function.
My objective is to develop a tree-diagram of all of the functions.
Is there a setting in the debugger, or preferences, anyway to do this automatically?
4 件のコメント
回答 (1 件)
Fangjun Jiang
2020 年 11 月 10 日
編集済み: Fangjun Jiang
2020 年 11 月 10 日
The call of another function might be dependent on a particular condition inside this function. So it is not ideal or practical to watch/debug the actual execution of the M script in one case or a few cases to get the information.
What you are looking for is probably this.
6 件のコメント
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!