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 (Since R2019a)
systemcomposer.arch.ParameterParameter in System Composer (Since R2022b)

Functions

expand all

createSimulinkBehaviorCreate Simulink behavior and link to component (Since R2019a)
createStateflowChartBehaviorAdd Stateflow chart behavior to component (Since R2021a)
createArchitectureModelCreate architecture model from component (Since R2021b)
createArchitectureSubsystemCreate architecture subsystem from component (Since R2023a)
linkToModelLink component to model (Since R2019a)
inlineComponentRemove reference architecture or behavior from component (Since R2019a)
isProtectedFind if component reference model is protected (Since R2021b)
isReferenceFind if component is referenced to another model (Since R2019a)
getEvaluatedParameterValueGet evaluated value of parameter from element (Since R2022a)
getParameterNamesGet parameter names on element (Since R2022a)
getParameterValueGet value of parameter (Since R2022a)
setParameterValueSet value of parameter (Since R2022a)
setUnitSet units on parameter value (Since R2022a)
resetParameterToDefaultReset parameter on component to default value (Since R2022a)

Tools

Architecture Views GalleryCreate and manage views and sequence diagrams (Since R2019b)
Parameter EditorAdd, edit, and promote parameters for architectures and components (Since R2022b)
Sequence ViewerVisualize messages, events, states, transitions, and functions (Since R2020b)

Topics

Related Information