Importing Architecture diagrams into other architecture diagrams.

2 views (last 30 days)
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.

Accepted Answer

Ajinkya
Ajinkya on 24 Apr 2023
Edited: Ajinkya on 24 Apr 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 Comment
Josh Kahn
Josh Kahn on 24 Apr 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

Sign in to comment.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!