FUNCTION REFERENCE

uifigure

Create figure window for building apps.

Create figure window for building apps.

Syntax

fig = uifigure

Syntax

fig = uifigure(Name, Value)

Creates a UI figure handle supporting Name, Position (InnerPosition, OuterPosition), Visible, Color, CloseRequestFcn, Tag, UserData, Children, and Parent. Rendered as an interactive window in the desktop app; objects, properties, and callbacks also work in -batch mode without a window.

Example

fig = uifigure('Name', 'Demo'); fig.Name; delete(fig)

Differences from MATLAB: uihtml, matlab.uitest, web apps, GUIDE .fig files, and custom ComponentContainer authoring are not supported. Window state, menu bar, toolbar, and figure key/mouse callbacks are not supported yet.

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