Stateflow | ![]() ![]() |
Finder Display Area
The Finder display area has an appearance similar to the following.
The display area displays found entries with the following columns:
All fields are truncated to maintain column widths. The Parent, Source, and Destination fields are truncated from the left so that the name at the end of the hierarchy is readable. The entire field contents, including the truncated portion, are used for resorting.
Each field label is also a button. Click the button to have the list sorted based on that field. If the same button is pressed twice in a row, the sort ordering is reversed.
You can resize the Finder vertically to display more output rows, but you cannot expand it horizontally.
Click a graphical entry to highlight that object in the graphical editor window. Double-click an entry to invoke the Properties dialog box for that object. Right-click the entry to display a menu that allows you to explore, edit, or display the properties of that entry.
Representing Hierarchy
The Finder displays Parent, Source, and Destination fields to represent the hierarchy. The Stateflow diagram is the root of the hierarchy and is represented by the / character. Each level in the hierarchy is delimited by a period (.) character. The Source and Destination fields use the combination of the tilde (~) and the period (.) characters to denote that the state listed is relative to the Parent hierarchy.
Using the following Stateflow diagram as an example, what are the values for the Parent, Source, and Destination fields for the transition from A2a
to A2b
?
The A2a
to A2b
transition is within state A2
. State A2
's parent is state A
and state A
's parent is the Stateflow diagram itself. The notation for state A2a
's parent is /A.A2
. State A2a
is the transition source and state A2b
is the destination. These states are at the same level in the hierarchy. The relative hierarchy notation for the source of the transition is ~.A2a
. The full path is /A.A2.A2a
. The relative hierarchy notation for the destination of the transition is ~.A2b
. The full path is /A.A2.A2b
.
![]() | Opening Stateflow Finder | Building Targets | ![]() |