Importing Architecture diagrams into other architecture diagrams.

1 vue (au cours des 30 derniers jours)
Ajinkya
Ajinkya le 21 Avr 2023
Commenté : Josh Kahn le 24 Avr 2023
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.

Réponse acceptée

Ajinkya
Ajinkya le 24 Avr 2023
Modifié(e) : Ajinkya le 24 Avr 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 commentaire
Josh Kahn
Josh Kahn le 24 Avr 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur System Composer dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by