Stateflow | ![]() ![]() |
Editing Object Labels
Some Stateflow objects (e.g., states and transitions) have labels. To change these labels, place the cursor anywhere in the label and click. The cursor changes to an I-beam. You can then edit the text.
Changing a Label`s Font Size
The shortcut menus allows you to change a label's font size:
A menu of font sizes appears.
Stateflow changes the font size of all labels on all selected states to the selected size.
Exploring Objects in the Editor Window
To view or modify events and data defined by any state visible in the Stateflow editor window (see Chapter 4, Defining Events and Data), position the editor cursor over the state, display the state's context menu (by pressing the right mouse button), and select Explore from the context menu. Stateflow opens the Stateflow Explorer (if not already open) and expands its object hierarchy view (see Explorer Main Window) to show any events or data defined by the state.
To view events and data defined by a transition or junction's parent state, select Explore from the transition or junction's context menu.
![]() | Copying Objects | Zooming a Diagram | ![]() |