systemcomposer.extractArchitectureFromSimulink

Extract architecture from Simulink model

Description

example

systemcomposer.extractArchitectureFromSimulink(model,architectureModelName) exports the Simulink® model model 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

Simulink model from which to extract the architecture, specified as a character vector. The model must be on the path.

Example: 'ex_modeling_variants'

Data Types: char

Architecture model name, specified as a character vector. This model is saved in the current directory.

Data Types: char

Introduced in R2019a