Types Editor
Description
The Types Editor allows you to define custom data types. You can then use the types created in the Types Editor to define data types of tokens that flow through pins of an action node.
The kinds of data types that you can define in the Types Editor include:
Composite Type — A composite type is equivalent to a bus that contains fields of different values and data types.
Value Type — A value type is a data type assigned to a single field value.
Open the Types Editor
Create an activity diagram.
In the Activity Diagram toolstrip, in the Modeling tab, select Types Editor.
Parameters
More About
Version History
Introduced in R2024a
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.Action|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
