FUNCTION REFERENCE

Label

Static text label UI control object returned by uilabel.

Static text label UI control object returned by uilabel.

Syntax

lbl = uilabel(parent)

Syntax

lbl = uilabel(parent, Name, Value)

Holds Text, HorizontalAlignment, VerticalAlignment, WordWrap, Position, Layout, FontSize, BackgroundColor, Enable and Visible properties.

Example

fig = uifigure('Visible', 'off'); lbl = uilabel(fig, 'Text', 'Status'); lbl.Text; delete(fig)

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