uisetcolor
Open color picker
Description
sets the default color selection to be the color of the specified object
(such as a c
= uisetcolor(obj
)Figure
). If you select a
different color in the color picker, the color of the object changes to the
new color after you click OK. The object must have a
property that controls some aspect of color. For example, some objects have
a Color
or BackgroundColor
property.
Examples
Input Arguments
Output Arguments
More About
Alternative Functionality
The uisetcolor
function launches a color picker dialog box in a
separate window. To instead create a color picker UI component that is embedded in an
app, use the uicolorpicker
function.
Version History
Introduced before R2006a