FUNCTION REFERENCE

uispinner

Create numeric spinner component.

Create numeric spinner component.

Syntax

spn = uispinner

Syntax

spn = uispinner(parent, Name, Value)

Adjusts a numeric Value within Limits by Step, with ValueDisplayFormat, Editable, ValueChangedFcn, and ValueChangingFcn.

Example

fig = uifigure; spn = uispinner(fig, 'Limits', [0 100], 'Step', 5, 'Value', 25); spn.Value; delete(fig)

Differences from MATLAB: LowerLimitInclusive, UpperLimitInclusive, and RoundFractionalValues are not supported yet.

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