Can I trace code structure and document the routine calling

2 views (last 30 days)
Hello,
Just took over somebody's code and I need to map the code, i.e. extract the structure (function calling order, etc.) Obviously I can do that interactively using the debugger, but it's quite inefficient when there are so many levels. Is there a way to automate the process, so I can generate a list of chronological calling of routines and passing arguments?
  2 Comments
Geoff Hayes
Geoff Hayes on 7 Mar 2016
Robert - the profile tool may provide some of the information that you are looking for (though it is used to profile code and determine the execution time for functions).

Sign in to comment.

Answers (0)

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!