systemcomposer.extractArchitectureFromSimulink

Extract architecture from Simulink model

Description

systemcomposer.extractArchitectureFromSimulink(SimulinkModel,architectureModelName) exports the Simulink® model SimulinkModel to an architecture model architectureModelName and saves it in the current directory.

Examples

collapse all

Extract architecture from a model with subsystem and variant architecture.

ex_modeling_variants;
systemcomposer.extractArchitectureFromSimulink('ex_modeling_variants','archModel')

Input Arguments

collapse all

The model must be on the path.

Data Types: model

A new architecture model that shows the architecture of the Simulink model. This model is saved in the current directory.

Data Types: char

Introduced in R2019a