Importing Architecture diagrams into other architecture diagrams.

2 visualizaciones (últimos 30 días)
I have a main architecture diagram -MyArch
and two architecture diagrams Arch1 and Arch2 in separate folders.
Folder structure is like the following
.
└── Root/
├── MyMainArch.slx
└── SubArchs/
├── Arch1/
│ └── Arch1.slx
└── Arch2/
└── Arch2.slx
I want to import Arch1 and Arch2 onto MyMainArch. Similar to Simulink libraries that are linked and updated whenever the other Architecture diagrams are updated.

Respuesta aceptada

Ajinkya
Ajinkya el 24 de Abr. de 2023
Editada: Ajinkya el 24 de Abr. de 2023
So. By using reference components this is possible to do.
In MyMainArch.slx, Use two reference components. Replace <Model name> with the file names (Arch1, Arch2 without extensions). The blocks are then referenced from the other architecture diagrams.
  1 comentario
Josh Kahn
Josh Kahn el 24 de Abr. de 2023
You are correct.
The reference components are the correct way to create and utilize the following reusable types in a System Composer architecture model:
  • architecture models
  • architecture subsystems
  • Simulink models
  • Simulink subsystems
Glad you were able to get it figured out.
Regards,
Josh

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre System Composer en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by