Show Calling Dependency

A function is provided that shows which functions a script/function calls

Vous suivez désormais cette soumission

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.

Citation pour cette source

Zhengdao Wang (2026). Show Calling Dependency (https://fr.mathworks.com/matlabcentral/fileexchange/15653-show-calling-dependency), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : dep (unmaintained)

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

An improved version of the .m file is available.