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 Kommentare

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).
thanks. I wil try it

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 7 Mär. 2016

Kommentiert:

am 7 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by