File Exchange Pick of the Week

Our best user submissions

m2uml

Sean's pick this week ism2umlbyPer Isakson.

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).
2021-08-05_08-12-24.png

MATLAB的班级图查看器在R2021A中

Starting in MATLAB R2021a, MATLAB has a nativeclass 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")
2021-08-05_08-21-56.png

注释

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 acomment对于per。
|
  • print
  • send email

注释

To leave a comment, please click这里to sign in to your MathWorks Account or create a new one.