Stateflow User's Guide Previous page   Next Page

Changing State Properties

Use the State dialog box to view and change the properties for a state. To access the State dialog for a particular state, do the following:

  1. Right-click the state.
  1. Choose Properties from the shortcut menu.
  1. Stateflow displays the State dialog for the state as shown.

The State dialog contains the following properties for a state:

Field
Description
Name
Stateflow diagram name; read-only; click this hypertext link to bring the state to the foreground.
Output State Activity
Select this check box to cause Stateflow to output the activity status of this state to Simulink via a data output port on the Chart block containing the state. See Outputting State Activity to Simulink for more information.
Parent
Parent of this state; a / character indicates the Stateflow diagram is the parent; read-only; click this hypertext link to bring the parent to the foreground.
Debugger breakpoints
Click the check boxes to set debugging breakpoints on the execution of state entry, during, or exit actions during simulation. See Debugging and Testing, for more information.
Label
The label for the state. This includes the name of the state and its associated actions. See the section titled Labeling States for detailed information.
Description
Textual description/comment.
Document Link
Enter a URL address or a general MATLAB command. Examples are www.mathworks.com, mailto:email_address, and edit /spec/data/speed.txt.

  1. After making changes, select one of the following:

Previous page  Specifying Activation Order for Parallel States Labeling States Next page

© 1994-2005 The MathWorks, Inc.