m2uml
您是否曾经有过(或继承!)以图形方式可视化的许多课程来理解它们的关系和能力?该提交的内容采用了一组MATLAB类和导出UML,可以在各种第三方工具中可视化。我有一组我想可视化的类,因此我创建了列表和UML:
list = {'content.Applicator','Content.FileSet','Content.Selectors.Selector','content.Selectors.all',...
'Content.Selectors.ExcludeXML','Content.Selectors.Extension','Content.Selectors.File',...
'Content.Selectors.Folder','content.selectors.git','content.Selectors.all','Content.Converters.Converter',...
'Content.Converters.FilesToZip','Content.Converters.HTMLToWord','content.converters.markdowntohtml',...
'Content.Converters.PowerPointToPDF','Content.Converters.SimulinkToWebview'}.';
m2uml.create_PlantUML_script(“课”, list);
This writes to a file whos contents I now pasted into a third party interpreter. The display shows me the class relationships, namespaces, as well as each method and property with icon-coded attributes. There are lots of new features in the most recent update, including full integrated documentation and nested packages (which is required for the below diagram).
MATLAB的班级图查看器在R2021A中
Starting in MATLAB R2021a, MATLAB has a native
class diagram viewer. You can either call this from the command line or open it from a project. This then lets you explore hierarchies, attributes, etc. of a set of classes natively in MATLAB.
matlab.diagram.ClassViewer("Packages","Content")
注释
Have you wanted to visualize classes in MATLAB? Now you have two ways to do it! Give these a try and let us know what you think
这里or leave a
comment对于per。
注释
To leave a comment, please click这里to sign in to your MathWorks Account or create a new one.