Stateflow    

Specifying Chart Properties

Click the right mouse button in an open area of the Stateflow diagram to display the General shortcut menu. This is the Chart properties dialog box.

This table lists and describes the chart object fields.

Field
Description
Name
Stateflow diagram name; read-only; click on this hypertext link to bring the chart to the foreground.
Simulink Subsystem
Simulink subsystem name; read-only; click on this hypertext link to bring the Simulink subsystem to the foreground.
Parent
Parent name; read-only; click on this hypertext link to display the parent's property dialog box.
Update method
Choose from Triggered or Inherited, Sampled, or Continuous.
Export Chart Level Functions
Exports graphical functions defined at the chart's root level. See Exporting Graphical Functions for more information.
Use Strong Data Typing with Simulink IO
If this option is checked, this chart block can accept and output signals of any data type supported by Simulink. The type of an input signal must match the type of the corresponding chart input data item (see Defining Input Data). Otherwise, a type mismatch error occurs. If this item is unchecked, this chart accepts and outputs only signals of type double. In this case, Stateflow converts Simulink input signals to the data types of the corresponding chart input data items. Similarly, Stateflow converts chart output data (see Defining Output Data) to double, if this option is unchecked.
Execute (enter) Chart at Initialization
Check this option if you want a chart's state configuration to be initialized at time 0 instead of at the first occurrence of an input event.
Sample Time
If Update method is Sampled, enter a sample time.
Debugger breakpoint
Click on the check box to set a debugging breakpoint On chart entry.
Editor
Click on the Locked check box to mark the Stateflow diagram as read-only and prohibit any write operations.
Description
Textual description/comment.
Document Link
Enter a Web URL address or a general MATLAB command. Examples are: www.mathworks.com, mailto:email_address, edit/spec/data/speed.txt.

Click on the Apply button to save the changes. Click on the Cancel button to cancel any changes since the last apply. Click on the OK button to save the changes and close the dialog box. Click on the Help button to display the Stateflow online help in an HTML browser window.


 Editing Junction Properties Waking Up Charts