Stateflow    

Changing State Properties

The State Properties dialog box lets you view and change a state's properties. To display the dialog for a particular state, choose Properties from the state's shortcut menu or click the state's entry in the Explorer contents pane. Stateflow displays the state's properties dialog box.

The dialog includes the following fields.

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 state entry, during, or exit actions. See Debugging and Testing, for more information.
Label
The state's label. See the section titled Labeling States for more 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.

Click the dialog Apply button to save the changes. Click the Revert button to cancel any changes and return to the previous settings. Click the Close button to save the changes and close the dialog box. Click the Help button to display the Stateflow online help in an HTML browser window.


  Specifying Activation Order for Parallel States Labeling States