Using Simulink | ![]() ![]() |
Specifying Block Diagram Colors
Simulink allows you to specify the foreground and background colors of any block or annotation in a diagram, as well as the diagram's background color. To set the background color of a block diagram, select Screen color from the Simulink Format menu. To set the background color of a block or annotation or group of such items, first select the item or items. Then select Background color from the Simulink Format menu. To set the foreground color of a block or annotation, first select the item. Then select Foreground color from the Simulink Format menu.
In all cases, Simulink displays a menu of color choices. Choose the desired color from the menu. If you select a color other than Custom, Simulink changes the background or foreground color of the diagram or diagram element to the selected color.
Choosing a Custom Color
If you choose Custom, Simulink displays the Simulink Choose Custom Color dialog box.
The dialog box displays a palette of basic colors and a palette of custom colors that you previously defined. If you have not previously created any custom colors, the custom color palette is all white. To choose a color from either palette, click the color, and then click the OK button.
![]() | Selecting More Than One Object | Defining a Custom Color | ![]() |