FUNCTION REFERENCE

uitextarea

Create multiline text area component.

Create multiline text area component.

Syntax

ta = uitextarea

Syntax

ta = uitextarea(parent, Name, Value)

Stores multiline text as a column cell array of character vectors in Value, with Editable, WordWrap, ValueChangedFcn, and ValueChangingFcn.

Example

fig = uifigure; ta = uitextarea(fig, 'Value', {'Line 1', 'Line 2'}); numel(ta.Value); delete(fig)

Differences from MATLAB: Placeholder, HorizontalAlignment, and programmatic scrolling are not supported yet.

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