GraphViz-like tools for MATLAB

Generate a function or script file call tree and plot it in a figure.
Updated 15 May 2010

View License

mkdotfile creates a GraphViz dot language representation of the dependencies of a function. mGraphViz plots the directed graph onto a figure. These functions are a small part of a larger project to implement a doxygen like code documentation system within MATLAB that doesn't have any external program dependencies.

Additional Acknowledgments:
Inspired by mdot of M2HTML
by Guillaume Flandin <>
(Which I can no longer find on the exchange)

Cite As

Jonathan Lister (2024). GraphViz-like tools for MATLAB (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Directed Graphs in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

added fdep in the Other Requirements field