simulink.sampletimecolors.Palette
Description
Use the simulink.sampletimecolors.Palette
object to customize
the color palette for sample time colors in your Simulink® model. You can specify different colors as RGB values or hexadecimal color codes
and assign them to different types of sample times. To learn more about sample times, see
Types of Sample Time.
You can use the simulink.sampletimecolors.Palette
object to apply a
specific custom palette temporarily to your current MATLAB® session, or you can create and set a custom palette as the default palette for
all your future MATLAB sessions.
Creation
Description
pltObj = simulink.sampletimecolors.Palette('
creates a palette object, paletteName
')pltObj
, that you can use to customize colors
for all types of sample times.
Input Arguments
Properties
Object Functions
simulink.sampletimecolors.applyPalette | Apply sample time color palette to current MATLAB session |
simulink.sampletimecolors.storePalette | Add new simulink.sampletimecolors.Palette object to
preferences |
simulink.sampletimecolors.getPalette | Get available simulink.sampletimecolors.Palette
objects |
simulink.sampletimecolors.removePalette | Remove simulink.sampletimecolors.Palette object from
preferences |
Examples
Version History
Introduced in R2024b