You can use System Composer™ architecture editing and analysis capabilities on Simulink models. To do so, extract the architecture from a Simulink model. Model and Subsystem blocks, as well as all ports in a Simulink model represent architectural constructs, while all other blocks represent some kind of dynamic or algorithmic behavior. In the architecture model that you obtain from a Simulink® model, you can choose to represent architectural constructs or link to behavior models.
Open an example model.
On the Simulation tab, click the Save arrow. From the Export Model To list, select Architecture Model.
Provide a name and path for the architecture model.
Click Export. A System Composer Editor window opens with an architecture model corresponding to the Simulink Model.
Each subsystem in the Simulink model corresponds to a component in the architecture model so that the hierarchy in the architecture model reflects the hierarchy of the behavior model.
The requirements for subsystems and Model blocks in the Simulink model are preserved in the architecture model.
Any Model block in the Simulink model that references another model corresponds to a component that links to that same referenced model.
Buses at subsystem and Model block ports, as well as their dictionary links are preserved in the architecture model.
You can use the exported model to add architecture-related information such as interface definitions, nonfunctional properties for model elements and analyze the design.