Specifications

The Generated M-File
2-19
If you select Use system color scheme for background (the default), GUIDE
changes the figure background color to match the color of the GUI components.
The following figures illustrate the results with (right) and without (left)
system color matching.
Code in the Application M-File
GUIDE implements this feature by generating code in the application M-file
that sets the figure background color to the default uicontrol background color,
which is system dependent.
% Use system color scheme for figure:
set(fig,'Color',get(0,'DefaultUicontrolBackgroundColor'));
Note Ensure that you have only one occurrence of this statement in your
application M-file, including in commented lines.