FUNCTION REFERENCE

Button

Push button UI control object returned by uibutton.

Push button UI control object returned by uibutton.

Syntax

b = uibutton(parent)

Syntax

b = uibutton(parent, 'push', Name, Value)

Holds Text, ButtonPushedFcn, Position, Layout, FontSize, BackgroundColor, Tooltip, Enable, Visible, Tag and UserData properties.

Example

fig = uifigure('Visible', 'off'); b = uibutton(fig, 'Text', 'Run'); b.Text; delete(fig)

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