FUNCTION REFERENCE

Spinner

Numeric spinner UI control object returned by uispinner.

Numeric spinner UI control object returned by uispinner.

Syntax

sp = uispinner(parent)

Syntax

sp = uispinner(parent, Name, Value)

Holds Limits, Step, Value, ValueDisplayFormat, Editable, ValueChangedFcn, ValueChangingFcn, Position, Layout, Enable and Visible properties.

Example

fig = uifigure('Visible', 'off'); sp = uispinner(fig, 'Step', 0.5, 'Value', 2); sp.Value; delete(fig)

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.