Can I trace code structure and document the routine calling

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

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

Asked:

on 7 Mar 2016

Commented:

on 7 Mar 2016

Community Treasure Hunt

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

Start Hunting!