Stateflow    

Editing Object Labels

Some Stateflow objects (for example, 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.

The shortcut (context) menus allows you to change a label's font size:

  1. Select the states whose label font size you want to change.
  2. Right-click to display the shortcut menu.
  3. Place the cursor over the Font Size menu item.
  1. A menu of font sizes appears.

  1. Select the desired font size from the menu.
  1. Stateflow changes the font size of all labels on all selected states to the selected size.

Viewing Data and Events from the Editor

To view or modify events and data defined by any state visible in the Stateflow editor window (see Defining Events and Data), position the mouse cursor over the state, right-click to display the state's context menu, 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