m2uml

版本 2.0.2 (1002.6 KB) 作者: per isakson
m2uml generates UML class diagrams from m-code
3.1K 次下载
更新时间 2020/10/3

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

This version of m2uml is a complete rewrite and it has some new features.

1. m2uml uses a semi-automated method to generate a class diagram for a user-selected set of classes. Reverse engineering of the Matlab code generates the entire inheritance tree structure. The class diagram is displayed in the Matlab web browser.

2. Tooltips: The classes, properties and methods show their H1-lines as tooltip.

3. Hyperlinks: Clicking the name of a class, propety or method opens the file in the Matlab editor and moves the cursor to the specified item. These hyperlinks makes m2uml a navigation tool.

4. The class box has (optionally) an extra compartment for TODO/FIXME annotations. These annotations have tooltips and hyperlinks.

5. New: Nested packages, see image in upper left corner of this page.

6. New: Custom documentation that is integrated in the Help Browser of Matlab.

7. New: Extensive possibilities to customise the class diagram, e.g display input and output arguments of methods

8. New: m2uml comes in a MATLAB toolbox file (mltbx). See the Matlab documentation regarding installing and uninstalling.

m2uml is based on PlantUML and Graphviz. m2uml retrieves information from the Matlab-code and outputs PlantUML-code. PlantUML uses GraphViz and draws the class diagram. To make a local installation of PlantUML see http://plantuml.com/starting.

However, experiments with m2uml don't require installations of PlantUML and Graphviz. PlantUML-code may be created locally and converted to a diagram in the cloud, e.g. at https://www.planttext.com/.

引用格式

per isakson (2024). m2uml (https://www.mathworks.com/matlabcentral/fileexchange/59722-m2uml), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
与 R2017b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Chemistry 的更多信息
致谢

参考作品: youemel

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
2.0.2

Cosmetics. Please report if you encounter problems.

2.0.1

Fixed a few cosmetic issues, including the aspect ratio of the toolbox image

2.0

Complete rewrite with some new features.

1.12.0.0

New attempt to fix the broken light-bulb-link.

1.11.0.0

Fixed broken link

1.1.0.0

m2uml v1.1 adds tool-tips and hyper-links and displays the class diagram in the Matlab browser

1.0.0.0

Fixed spelling mistake.