Describe Activity Diagrams
Define and visualize the flow of data through actions to validate functional
system design
Author executable activity diagrams for your architecture models or components to define and validate functional requirements. Use activity diagrams in System Composer™ to visualize data flow through actions. Create directed relationships with allocations from activity diagram elements to architecture model elements to further describe the functional design of your system.
Functions
systemcomposer.createActivity | Create System Composer activity diagram (Since R2024a) |
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) |
Pin | Direct tokens into or out of an action node (Since R2024a) |
Parameter Node | Process tokens through a 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) |
Allocation Editor | Create and manage model-to-model allocations (Since R2020b) |
Topics
- Describe System Behavior Using Activity Diagrams
Learn about and interact with activity diagrams in System Composer.
- Author Activity Diagrams
Create action nodes, token-based flows, merge nodes, and types for input pins.
- Simulate, Visualize, and Validate Activity Diagrams
Simulate, visualize, and debug activity diagrams in System Composer.
- Model Complex Objects in Activity Diagrams Using MATLAB Class Tokens
Model activity diagram that processes MATLAB class tokens.