FUNCTION REFERENCE
uislider
Create slider component.
Create slider component.
Syntax
sld = uisliderSyntax
sld = uislider(parent, Name, Value)Syntax
sld = uislider(parent, 'slider', Name, Value)Selects a numeric Value within Limits with MajorTicks, Orientation ('horizontal' or 'vertical'), ValueChangedFcn, and ValueChangingFcn.
Example
fig = uifigure; sld = uislider(fig, 'Limits', [0 10], 'Value', 4); sld.Value; delete(fig)Differences from MATLAB: 'range' slider style, minor ticks, MajorTickLabels, and Step are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.