uiswitch
Create slider switch, rocker switch, or toggle switch component
Syntax
Description
creates a slider switch in
a new figure window and returns the sw
= uiswitchSwitch
object.
MATLAB® calls the uifigure
function to create the
figure.
creates a switch of the specified style.sw
= uiswitch(style
)
specifies object properties using one or more sw
= uiswitch(___,Name,Value
)Name,Value
pair
arguments. Use this option with any of the input argument combinations in the
previous syntaxes.
Examples
Input Arguments
Version History
Introduced in R2016a