編集メモ: 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 (2025). m2uml (https://www.mathworks.com/matlabcentral/fileexchange/59722-m2uml), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxタグ
謝辞
ヒントを得たファイル: youemel
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!+m2uml
+m2uml/private
samples
samples/+FileExchange
samples/+FileExchange/+m2uml
samples/+FileExchange/+m2umlX
tmp4mltbx_
user_interface
バージョン | 公開済み | リリース ノート | |
---|---|---|---|
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. |