Main Content

Author System Behaviors

Associate architectures with Simulink®, Stateflow®, and Simscape™ and use sequence diagrams to describe system behavior

Define system behaviors in architecture models to determine the purpose of the system and to assess how to design the system. Use sequence diagrams integrated with System Composer™ to describe system behaviors as the interaction between components in a sequence of message exchanges.

Define component behaviors to implement system design.

  • Define component behavior by linking to a Simulink model or a Simulink subsystem.

  • Add state machine behavior in Stateflow to components.

  • Add physical behavior in Simscape to components.

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.arch.ParameterParameter 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
isProtectedFind if component reference model is protected
isReferenceFind if component is referenced to another model
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
Parameter EditorAdd, edit, and promote parameters for architectures and components
Sequence ViewerVisualize messages, events, states, transitions, and functions

Topics

Related Information