Using Stateflow     Search    Help Desk 

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

You can adjust font size through the shortcut menus using a virtual scrollbar. To adjust font size with the virtual scrollbar:

   1.
Select the state(s) whose label font size you want to change.
   2.
Right-click on a selected state whose font you want to change to display the shortcut menu.
   3.
Place the cursor over the Font Size menu item.
A menu of font sizes appears.
   4.
Select the desired font size from the menu.
The font size of all labels on any selected states is adjusted.

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 3, "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.



[ Previous | Help Desk | Next ]