How to save System Composer Model(.slx) as Microsoft Visio(.vsd)
23 views (last 30 days)
Show older comments
Let me know How to save System Composer Model(.slx) as Microsoft Visio(.vsd)
Mathworks help page mentioned like below
(https://kr.mathworks.com/help/systemcomposer/import-export-architecture-models.html)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Import and Export Architecture Model
Import models from third-party tools and export them with System Composer changes
System Composer allows you to import an architectural model that was created in a third-party database or architecture modeling tool like Microsoft® Visio or Sparx Enterprise Architect, edit it, and export it back, including all of the changes. Build your custom import and export layers, create an architecture model, and export back the modified model.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 Comments
Answers (3)
Rasul Khan
on 5 Jun 2020
To build a System Composer model, you can import information about components, ports, and connections in a predefined format using MATLAB tables. You can extend these tables and add information like applied stereotypes, property values, linked referenced models, variant components, and interfaces.
Similarly, you can export information about components, hierarchy of components, ports on components, connections between components, linked referenced models, variants, stereotypes on elements, and interfaces.
With these APIs, you've to build your own custom import/export layers which can convert these MATLAB tables to a Visio model or vice versa.
You can refer the link below:
2 Comments
AstroJon
on 5 Mar 2021
This is not helpful as it just regurgitates the info from the help article that the OP already mentioned. What would be helpful is a brief walkthrough of how to convert the MATLAB tables from the export into a Visio diagram. There is a walkthrough on the MS Office Support site for importing data into Visio, but clearly this MATLAB-to-Visio process is not seamless. A separate but enormous benefit would be to save the Architecture Views as PDF or image files (e.g. - PNG, JPEG, etc) for insertion into presentation documents or printing. If MATLAB/Simulink want to be an MBSE tool suite, then it must have the capability to generate model artifacts, and right now that is lacking.
Josh Kahn
on 22 May 2024
Edited: Josh Kahn
on 22 May 2024
Could you help us understand the use case better? Is this for reporting purposes? If so, System Composer now has several reporting options available using Simulink Report Generator including Interactive HTML Web Views and Report Generation.
If you still need to get to Visio, please feel free to reach out to us and we'll be happy to help you figure out a path forward:
Regards,
Josh
0 Comments
Anusree S
on 23 May 2024
Hello there,
You can convert a system composer model to Visio by using the following methods:
--> Export the data in to excel from system composer
--> Data import to Visio using VBA
If you need help, let me know.
I can guide you.
Thanks and regards,
Anusree
0 Comments
See Also
Categories
Find more on System Composer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!