Show Calling Dependency

A function is provided that shows which functions a script/function calls
2K Downloads
Updated 18 Aug 2007

View License

The script shows the calling sequence of a function or a script. Given the script/function name, this utility

1. displays a list of functions that are called.

2. generates a .dot file

3. uses Graphviz/dot tool to generate an .eps file that shows the dependency relationship of the functions called directly or indirectly.

4. uses gv to display the .eps file.

In order for the graphical display to work, it needs

1. The "dot" program in Graphviz. See
http://www.graphviz.org/

2. The gv (ghostview) program to show the EPS file.

System functions (those that are not in a directory whose full path name contains the user id) are ignored.

Cite As

Zhengdao Wang (2024). Show Calling Dependency (https://www.mathworks.com/matlabcentral/fileexchange/15653-show-calling-dependency), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers
Acknowledgements

Inspired: dep (unmaintained)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

An improved version of the .m file is available.