Property
|
Type
|
Acc
|
Description
|
ChartColor
|
[R,G,B]
|
RW
|
Background color of this chart in a 1-by-3 RGB array (default = [1 0.9608 0.8824]) with each value normalized on a scale of 0 to 1.
|
Debug.
Breakpoints.
OnEntry
|
Boolean
|
RW
|
If set to true (default = false ), set the chart entry breakpoint for this chart. Equivalent to selecting the Chart Entry check box in the properties dialog for this chart.
|
Decomposition
|
Enum
|
RW
|
Set this property to 'EXCLUSIVE_OR' (default) to specify exclusive (OR) decomposition for the states at the first level of containment in this chart. Set to 'PARALLEL_AND' to specify parallel (AND) decomposition for these states. Equivalent to the Decomposition selection in the context menu for the Stateflow diagram editor.
|
Description
|
String
|
RW
|
Description (default = '' ) of this state. Equivalent to entering a description in the Description field of the properties dialog for this chart.
|
Dirty
|
Boolean
|
RW
|
If set to true (default = false ), this chart has changed since being opened or saved.
|
Document
|
String
|
RW
|
Document link (default = '' ) to this chart. Equivalent to entering the Document Link field of the properties dialog for this chart.
|
Editor
|
Editor
|
RO
|
Editor object for this chart.
|
EnableBitOps
|
Boolean
|
RW
|
If set to true (default = false ), enables C-like bit operations in generated code for this chart. Equivalent to the Enable C-like bit operations check box in the chart properties dialog.
|
ErrorColor
|
[R,G,B]
|
RW
|
Set the RGB color for errors in the Stateflow Diagram Editor in a 1-by-3 RGB array (default value [1 0 0] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the Error color in the Colors & Fonts dialog under Edit > Style.
|
ExecuteAt
Initialization
|
Boolean
|
RW
|
If set to true (default = false ), this chart's state configuration is initialized at time zero instead of at the first input event. Equivalent to selecting the Execute (enter) Chart at Initialization check box in chart properties dialog
|
ExportChart
Functions
|
Boolean
|
RW
|
If set to true (default = false ), graphical functions at chart level are made global. Equivalent to selecting the Export Chart Level Graphical Functions (Make Global) check box in chart properties dialog.
|
Iced
|
Boolean
|
RO
|
Equivalent to property Locked (default = false ) except that this property is used internally to lock this chart from change during activities such as simulation.
|
Id
|
Integer
|
RO
|
Unique identifier assigned to this chart to distinguish it from other objects loaded in memory.
|
JunctionColor
|
[R,G,B]
|
RW
|
Set the RGB color for junctions in the Stateflow Diagram Editor in a 1-by-3 RGB array (default value [0.6824 0.3294 0] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the Junction color in the Colors & Fonts dialog under Edit > Style.
|
Locked
|
Boolean
|
RW
|
If set to true (default = false ), mark this chart as read-only and prohibit any write operations on it. Equivalent to selecting the Locked check box in the Editor section of the properties dialog for this chart.
|
Machine
|
Machine
|
RO
|
Machine that contains this chart.
|
Name
|
String
|
RW
|
Name of this chart (default = 'Chart' ). Equivalent to changing the name of this chart's Stateflow block in Simulink.
|
NoCodegenFor
CustomTargets
|
Boolean
|
RW
|
If set to true (default = false ), no code is generated for this chart for custom targets (only for the simulation target, sfun ). Equivalent to the No Code Generation for Custom Targets check box in the properties dialog for this chart.
|
SampleTime
|
String
|
RW
|
Sample time for activating this chart (default = '' ). Applies only when the UpdateMethod property for this chart is set to 'DISCRETE' ( = Sampled in the Update method field in the properties dialog for this chart).
|
SelectionColor
|
[R,G,B]
|
RW
|
Color of selected items for this chart in a 1-by-3 RGB array (default value [1 0 0.5176] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the Selection color in the Colors & Fonts dialog under Edit > Style.
|
StateColor
|
[R,G,B]
|
RW
|
Color of the state box in a 1-by-3 RGB array (default value [0 0 0] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the State/Frame color in the Colors & Fonts dialog under Edit > Style.
|
StateFont.
Angle
|
Enum
|
RW
|
Font angle for the labels of State, Box, Function, and Note objects. Can be 'ITALIC' or 'NORMAL' (default). Equivalent to Italic and Regular settings when changing the font style of StateLabel in the Colors & Fonts dialog under Edit > Style. Use with property StateFont.Weight to achieve Bold Italic style. You can individually override this property with the Font.Angle property for Note objects.
|
StateFont.
Name
|
String
|
RW
|
Font style (default = 'Helvetica' ) used for the labels of State, Box, Function, and Note objects. Enter a string for the font name (there are no selectable values). Font remains set to previous font for unrecognized font strings. Equivalent to changing the font of StateLabel in the Colors & Fonts dialog under Edit > Style.
|
StateFont.
Size
|
Integer
|
RW
|
Font size (default = 12 ) for the labels of State, Box, Function, and Note objects. Equivalent to changing the font size of StateLabel in the Colors & Fonts dialog under Edit > Style. You can individually override this property with the FontSize property for State, Box, and Function objects and with the Font.Size property for Note objects.
|
StateFont.
Weight
|
Enum
|
RW
|
Font weight for state labels. Can be 'BOLD' or 'NORMAL' (default). Equivalent to the Bold and Regular settings of StateLabel in the Colors & Fonts dialog under Edit > Style. Use with the property StateFont.Angle to achieve Bold Italic style. You can individually override this property with the Font.Weight property for Note objects.
|
StateLabelColor
|
[R,G,B]
|
RW
|
Color of the state labels for this chart in a 1-by-3 RGB array (default = [0 0 0] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the label color of StateLabel in the Colors & Fonts dialog under Edit > Style.
|
StrongDataTyping
WithSimulink
|
Boolean
|
RW
|
If set to true (default = false ), set strong data typing with Simulink I/O. Equivalent to selecting the Use Strong Data Typing with Simulink I/O check box in the chart properties dialog.
|
Tag
|
Any Type
|
RW
|
A field you can use to hold data of any type for this chart (default = [] ).
|
TransitionColor
|
[R,G,B]
|
RW
|
Set the RGB color for transitions in the Stateflow Diagram Editor in a 1-by-3 RGB array (default = [0.2902 0.3294 0.6039] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the Transition color in the Colors & Fonts dialog under Edit > Style.
|
TransitionFont.
Angle
|
Enum
|
RW
|
Font angle for state labels. Can be 'ITALIC' or 'NORMAL' (default). Equivalent to Italic and Regular settings when you change the font style of TransitionLabel in the Colors & Fonts dialog under Edit > Style. Use with property StateFont.Weight to achieve Bold Italic style.
|
TransitionFont.
Name
|
String
|
RW
|
Font style (default = 'Helvetica' ) used for transition labels. Enter a string for font name (there are no selectable values). Font remains set to previous font for unrecognized font strings. Equivalent to changing the font of TransitionLabel in the Colors & Fonts dialog under Edit > Style.
|
TransitionFont.
Size
|
Integer
|
RW
|
Default font size (default = 12 ) for transition labels. Truncated to closest whole number less than or equal to entered value. Equivalent to changing the font size of TransitionLabel in the Colors & Fonts dialog under Edit > Style.
|
TransitionFont.
Weight
|
Enum
|
RW
|
Font weight for transition labels. Can be 'BOLD' or 'NORMAL' (default). Equivalent to Bold and Regular settings when you change the font style of TransitionLabel in the Colors & Fonts dialog under Edit > Style. Use with property StateFont.Angle to achieve Bold Italic style.
|
TransitionLabel
Color
|
[R,G,B]
|
RW
|
Color of the transition labels for this chart in a 1-by-3 RGB array (default = [0.2902 0.3294 0.6039] ) with each value normalized on a scale of 0 to 1. Equivalent to changing the label color of TransitionLabel in the Colors & Fonts dialog under Edit > Style.
|
UpdateMethod
|
Enum
|
RW
|
Activation method of this chart. Can be 'INHERITED' (default), 'DISCRETE' , or 'CONTINUOUS' . Equivalent to the Update method field in the properties dialog for this chart, which takes one of the following corresponding selections: Triggered or Inherited, Sampled, Continuous.
|
Visible
|
Boolean
|
RW
|
If set to true (default) , display this chart in the chart diagram editor.
|