A tool to generate GraphViz UML diagrams from Matlab code, with hyperlinks back to the code.
Updated 17 Aug 2015

The main purpose of this tool is to help with understanding the current class oriented design of your software, while providing a quick way to navigate through it. It does this by using the HTML-like table notation provided by GraphViz to build the UML representations that have embedded hyperlinks to the associated location in the code.

For example, a UML class property, "myProp" for "MyClass" will take you to the exact line number where "myProp" is defined within "MyClass". For this to work, you must generate an SVG with GraphViz and open it with Matlab (no other browser). I just use the same formatting that is used by Matlab's "profile viewer". I'll likely add more to it over time to automate generating and accessing the diagrams, but for now you must use GraphViz to generate the diagrams from the .dot file.

See full documentation on github with screenshots and walkthrough:

I will likely not spend much time checking this site. If you'd like to comment or contribute, you can do this through the standard means at github:

Add an issue:

Submit a pull request:

Cite As

Nicholas (2024). youemel (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on MATLAB Report Generator in Help Center and MATLAB Answers

Inspired by: Recursive directory listing - Enhanced RDIR

Inspired: m2uml

Community Treasure Hunt

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

Start Hunting!








Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.