FUNCTION REFERENCE

uilabel

Create text label component.

Create text label component.

Syntax

lbl = uilabel

Syntax

lbl = uilabel(parent, Name, Value)

Displays non-editable text with Text, HorizontalAlignment, VerticalAlignment, WordWrap, Position, Layout, FontSize, BackgroundColor, Enable, Visible, Tooltip, Tag, and UserData.

Example

fig = uifigure; lbl = uilabel(fig, 'Text', 'Ready'); lbl.Text; delete(fig)

Differences from MATLAB: Interpreter (HTML/TeX/LaTeX), FontColor, and font family/weight/angle 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.