plot_subfun('foo.m') plots a node map of the subroutines in the file foo.m, and their dependencies.
The screenshot is a sample output for the function plot_subfun.m itself.
There is a demo of examples which can be shown with web(publish('demo_subfun'))
Christopher Pedersen (2022). plot_subfun (https://www.mathworks.com/matlabcentral/fileexchange/46070-plot_subfun), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: farg: a pedestrian M-file parser showing all used functions' syntax, fdep: a pedestrian function dependencies finder, ftoc (v1.2), MATLAB GraphViz Layout importer, GraphViz-like tools for MATLAB
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!