MATLAB: How to show all dependencies of child functions using the Dependency Report in MATLAB 7.8 (R2009a)

MATLAB

The Dependency Report lists child functions. I want to display all dependencies of child functions using the Dependency Report.

Best Answer

The ability to display all dependencies of child functions returned by the Dependency Report is not available.
As a workaround, please use the DEPFUN funcition as shown below:
list = depfun('fun')
The above code creates a cell array of strings containing the paths of all the files that function 'fun' uses. This includes the second-level files that are called directly by 'fun', and the third-level files that are called by the second-level files, and so on.