| Stateflow User's Guide | ![]() |
Setting Properties for Individual Charts
You set most of the properties for a chart as an individual chart. To specify properties for a chart of a Stateflow block, do the following:
| Field |
Description |
| Name |
Stateflow diagram name; read-only; click this hypertext link to bring the chart to the foreground. |
| Parent |
Parent name; read-only; click this hypertext link to display the parent's property dialog box. |
| Machine |
Simulink subsystem name; read-only; click this hypertext link to bring the Simulink subsystem to the foreground. |
| Update method |
Stateflow lets you specify the method by which a simulation updates (wakes up) a chart in Simulink. Choose from Inherited, Discrete, or Continuous. For more information, see Setting the Stateflow Block Update Method. |
| Sample Time |
If Update method is Sampled, enter a sample time. |
| Enable C-bit operations |
Select this box to recognize C bitwise operators (~, &, |, ^, >>, and so on) in action language statements and encode them as C bitwise operations. If this box is not selected, the following occurs:
|
| User specified transition execution order |
Select this box to switch to explicit ordering of transitions. In this mode, you have complete control of the order in which transitions originating from a source are tested for execution. For more information, see Transition Testing Order. |
| Export Chart Level Graphical Functions |
Exports graphical functions defined at the chart's root level. See Exporting Functions for more information. |
| Use Strong Data Typing with Simulink I/O |
If this option is selected, the Chart block for this chart can accept intput signals of any data type supported by Simulink, provided that the type of the input signal matches the type of the corresponding chart input data item (see Sharing Input and Output Data with Simulink). If the types do not match, a type mismatch error occurs. If this item is cleared, the 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 Sharing Input and Output Data with Simulink) to type double if this option is not selected.For fixed-point data, see the note following this table. |
| Execute (enter) Chart at Initialization |
Select 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. |
| Debugger breakpoint: On chart entry |
Select to set a debugging breakpoint on entry to this chart. |
| Editor: Locked |
Select 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, and edit/spec/data/speed.txt. |
| Specifying Chart Properties | Setting Properties for All Charts in the Model | ![]() |
© 1994-2005 The MathWorks, Inc.