systemcomposer.activity.Action
Description
An Action object represents an action node within an
activity diagram model.
Creation
Create an action node in an activity diagram using the addNode function with the nodeType argument
specified as action.
action1 = addNode(activity,'MATLAB Action 1','action');
Properties
Object Functions
addProperty | Define custom property for stereotype |
changeStereotype | Change currently applied stereotype to new stereotype in its stereotype hierarchy |
destroy | Remove model element |
getEvaluatedPropertyValue | Get evaluated value of property from element |
getFlow | Get flow from activity diagram |
getProperty | Get property value corresponding to stereotype applied to element |
getPropertyValue | Get value of architecture property |
getStereotypes | Get stereotypes applied on model element |
hasProperty | Find if element has property |
removeStereotype | Remove stereotype from profile |
setProperty | Set property value corresponding to stereotype applied to element |
addPin | Create new pin on action node |
applyStereotype | Apply stereotype to model element |
connect | Create activity diagram flows |
getPin | Get pin from action node |
getPins | Get pins from action node |
hasStereotype | Find if element has stereotype applied |
setBehaviorType | Set behavior type of action node |
Examples
More About
Version History
Introduced in R2026a
See Also
Functions
systemcomposer.createActivity|addNode|addParameter|getNode|getNodes|getFlow|connect|getParameter|getParameters|getPin|getPins|addPin|getParentPin|applyStereotype|removeStereotype|getStereotype|destroy|setBehaviorType
Objects
systemcomposer.activity.Activity|systemcomposer.activity.ActivityNode|systemcomposer.activity.ActivityFinal|systemcomposer.activity.ControlNode|systemcomposer.activity.Flow|systemcomposer.activity.FlowFinal|systemcomposer.activity.Model|systemcomposer.activity.JoinFork|systemcomposer.activity.Initial|systemcomposer.activity.MergeDecision|systemcomposer.activity.Parameter|systemcomposer.activity.Pin
Tools
Blocks
- Initial Node | Action Node | Pin | Parameter Node | Decision or Merge Node | Join or Fork Node | Flow Final Node | Activity Final Node
Topics
- Describe System Behavior Using Activity Diagrams
- Establish Traceability and Extend Model Elements
- Simulate, Visualize, and Validate Activity Diagrams
- Compose Architectures Visually
- Implement Component Behavior Using Activity Diagrams
- Implement Component Behavior Using Stateflow Charts
- Implement Component Behavior Using Simscape
