How to find the functions called by another function
显示 更早的评论
if any Matlab function is calling say 100 functions
Is there any short cut to find the functions called by a specific function? with out going through the entire code.
and any shortcut to find out the functions calling a specific function?
1 个评论
Kishor
2011-8-20
you can check in reverse order.Place break point in function and then check call stack(use command dbstack) and you will get data in form of structure.
回答(3 个)
PA00
2011-8-23
1 个投票
I would try using the profile function. You can either acess the Profiler under the Desktop (Desktop->Profiler) on the menu.
Walter Roberson
2011-8-20
0 个投票
See depfun()
The IDE (integrated development environment) has a specific menu item at the top to run the analysis of what is called.
类别
在 帮助中心 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!