You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Make a dependency report for a matlab file. Plot a dot graph of the result. Independent of the matlab depfun() function. Make only static code analysis.
Independent of the matlab depfun() function.
1) Find the matlab dependency for each matlab file in the directory.
2) Find all the dependency from the main file (recursively).
3) Plot the call graph.
Don't make infinite loop by recursive call.
You can include external function in the call graph.
There is some limitations. The output file is a dot file (graphwiz), so you can fix the error of the script.
Need a unix system.
Cite As
T. Guillod (2026). dep (unmaintained) (https://uk.mathworks.com/matlabcentral/fileexchange/27787-dep-unmaintained), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Show Calling Dependency, fdep: a pedestrian function dependencies finder
General Information
- Version 1.0.0.1 (4.94 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
