determine which function is calling what functions
显示 更早的评论
hi everyone,
i wonder if there is any way in matlab to tetermine which function is called by witch. i got allredy 2500 lines of gui code and in order to clean up ( not to do the thame thing twice) it would be usefull to kno who is calling who and who is called by whome
thanks a lot
回答(1 个)
Jan
2012-4-22
0 个投票
Do you want to find the calling stack during the computation or statically?
The function dbstack replies the calling stack. The profiler can create a history also, see doc profile.
类别
在 帮助中心 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!