Author System Behaviors
Define system behaviors in architecture models to determine the purpose of the system and to assess how to design the system.
Use activity diagrams in System Composer™ with flows of tokens through actions that operate on objects. Activity diagrams contain action nodes with pins connected by flow lines.
Use sequence diagrams integrated with System Composer to describe system behaviors as the interaction between components in a sequence of message exchanges. Sequence diagrams use signal-based and Simulink message-based communication.
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
Functions
Blocks
Initial Node | Dispatch control token at beginning of activity (Since R2024a) |
Action Node | Process object tokens through MATLAB function or nested activity diagram (Since R2024a) |
Decision or Merge Node | Route input tokens based on evaluation of MATLAB expressions, or merge multiple input tokens onto one output flow (Since R2024a) |
Join or Fork Node | Synchronize multiple input tokens into one output, or replicate one input token on all output flows (Since R2024a) |
Flow Final Node | Terminate one object or control flow (Since R2024a) |
Activity Final Node | Terminate entire activity (Since R2024a) |
Tools
Types Editor | Create custom data types (Since R2024a) |
Architecture Views Gallery | Create and manage views and sequence diagrams (Since R2019b) |
Parameter Editor | Add, edit, and promote parameters for architectures and components (Since R2022b) |
Sequence Viewer | Visualize messages, events, states, transitions, and functions (Since R2020b) |
Topics
Activity Diagrams
- Describe System Behavior Using Activity Diagrams
Learn about and interact with activity diagrams in System Composer.
Sequence Diagrams
- Describe System Behavior Using Sequence Diagrams
Learn about and interact with sequence diagrams in System Composer.
- Author Sequence Diagrams Interactively
- Author Sequence Diagram Fragments
- Author Sequence Diagrams to Co-Create Architecture Models
- Synchronize Sequence Diagrams and Architecture Models
- Simulate Sequence Diagrams for Traffic Light Example
- Author and Simulate Basic Colors Sequence Diagram with Enumerations
Component Behaviors
- Implement Component Behavior Using Simulink
Associate components with behavior models in Simulink. - Implement Component Behavior Using Simscape
Associate components with physical behavior in Simscape. - Implement Component Behavior Using Stateflow Charts
Associate components with state machine behavior in Stateflow.