| Stateflow User's Guide | ![]() |
Color Properties
The following properties set colors for the graphical objects in Stateflow charts.
| Property |
Return |
Access |
Description |
Objects |
ChartColor |
[R,G,B] |
RW |
Background color of this chart in a 1-by-3 RGB array with each value normalized on a scale of 0 to 1. |
C |
ErrorColor |
[R,G,B] |
RW |
Set the RGB color for errors in the Stateflow Diagram Editor in a 1-by-3 RGB array with each value normalized on a scale of 0 to 1. Equivalent to changing Error color in the Colors & Fonts dialog under Edit > Style. |
C |
JunctionColor |
[R,G,B] |
RW |
Set the RGB color for junctions in the Stateflow Diagram Editor in a 1-by-3 RGB array 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. |
C |
SelectionColor |
[R,G,B] |
RW |
Color of selected items for this chart in a 1-by-3 RGB array 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. |
C |
StateColor |
[R,G,B] |
RW |
Color of the state box in a 1-by-3 RGB array 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. |
C |
StateLabelColor |
[R,G,B] |
RW |
Color of the state labels for this chart in 1-by-3 RGB array 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. |
C |
TransitionColor |
[R,G,B] |
RW |
Set the RGB color for transitions in the Stateflow Diagram Editor in a 1-by-3 RGB array 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. |
C |
TransitionLabelColor |
[R,G,B] |
RW |
Color of the transition labels for this chart in 1-by-3 RGB array 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. |
C |
| Graphical Appearance | Drawing Properties | ![]() |
© 1994-2005 The MathWorks, Inc.