FUNCTION REFERENCE
uieditfield
Create text or numeric edit field component.
Create text or numeric edit field component.
Syntax
ef = uieditfieldSyntax
ef = uieditfield(parent, Name, Value)Syntax
ef = uieditfield(parent, style, Name, Value)Creates a single-line text ('text', default; Value, Editable, Placeholder) or numeric ('numeric'; Value, Limits, ValueDisplayFormat, LowerLimitInclusive, UpperLimitInclusive, RoundFractionalValues, Editable) edit field with ValueChangedFcn and ValueChangingFcn.
Example
fig = uifigure; ef = uieditfield(fig, 'numeric', 'Limits', [0 10], 'Value', 5); ef.Value; delete(fig)Differences from MATLAB: CharacterLimits, AllowEmpty, and font colour/alignment styling properties are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.