Main Content

Author Model Behavior

Associate architecture models with functionality specified in Simulink® models, Stateflow® charts, Simscape™ subsystems, and sequence diagrams

Use sequence diagrams integrated with System Composer™ to describe system behavior as the interaction between components in a sequence of message exchanges.

You can use Simulink models with System Composer. Define component behavior by linking to a Simulink model or a Simulink subsystem. Add state machine behavior in Stateflow or physical behavior in Simscape to components.

Export Simulink behavior models into architecture models for analysis.

Use parameters, specified as model arguments, to specify instance-specific values on components. Each component linked to the same referenced model or architecture can specify independent values for a parameter.

Classes

systemcomposer.arch.ComponentSystem Composer component
systemcomposer.parameter.ParameterDefinitionParameter definition in System Composer

Functions

expand all

createSimulinkBehaviorCreate Simulink behavior and link to component
createStateflowChartBehaviorAdd Stateflow chart behavior to component
createArchitectureModelCreate architecture model from component
linkToModelLink component to model
inlineComponentRemove reference architecture or behavior from component
systemcomposer.extractArchitectureFromSimulinkExtract architecture from Simulink model
isProtectedFind if component reference model is protected
isReferenceFind if component is referenced to another model
getParameterDefinitionGet instance-specific parameter definition
getEvaluatedParameterValueGet evaluated value of parameter from element
getParameterNamesGet parameter names on element
getParameterValueGet value of parameter
setParameterValueSet value of parameter
setUnitSet units on parameter value
resetParameterToDefaultReset parameter on component to default value

Tools

Architecture Views GalleryCreate and manage architecture views and sequence diagrams
Sequence ViewerVisualize messages, events, states, transitions, and functions

Topics