The following Matlab project contains the source code and Matlab examples used for plot subroutines. plot_subroutines('foo.m') plots a node map of the subroutines in a function, and their dependencies. The screenshot is a sample output for the function plot_subroutines.m itself. Includes the separate function plot_graph which is a wrapper for mGraphViz.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.