Skip to content

gerhardkurz/MatlabUML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

MatlabUML

This is a small tool to automatically create an UML class diagram from MATLAB code.

Requirements

  • a reasonably recent version of MATLAB
  • graphviz
  • rdir (included)

Features

  • create UML class diagram from code automatically
  • output into any format supported by graphviz (png, pdf, svg, ...)
  • supports public and private properties and methods
  • supports multiple inheritance
  • supports recursive handling of classes in subfolders
  • uses MATLAB's meta.class feature instead of employing its own parser

Usage

Set the folder variable to the folder containing the classes and the output variable to the desired output filename (without extension). Make sure that the dotExecutable Variable points to the path where the dot tool from graphviz can be found.

Once all is set, just run uml.m. You can change the output format by modifying the call to the dot executable at the end of uml.m.

Example

When running MatlabUML on the example classes from UMLgui it generates the following result. Example

Limitations

  • function parameters and return values are not shown
  • GetAccess/SetAccess are not distinguished

License

MatlabUML is licensed under the GPLv3 license.

Contact

Author: Gerhard Kurz

Mail: kurz.gerhard (at) gmail (dot) com

Web: http://www.gerhardkurz.de

About

No description or website provided.

Topics

Resources

License

GPL-3.0, BSD-2-Clause licenses found

Licenses found

GPL-3.0
LICENSE
BSD-2-Clause
rdir_license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages