FUNCTION REFERENCE

findall

Find all graphics and UI handles by properties, including hidden handles.

Find all graphics and UI handles by properties, including hidden handles.

Syntax

h = findall(scope, 'Type', kind, property, value, ...)

Syntax

h = findall(scope, '-depth', d, property, value, ...)

Syntax

h = findall(property, value, ...)

Equivalent to findobj while ignoring HandleVisibility ('off' and 'callback') so default uifigure windows, hidden UI components and dialog figures are included in root and subtree searches.

Example

f = uifigure('Visible', 'off', 'Tag', 'app1'); h = findall(0, 'Type', 'figure', 'Tag', 'app1'); close(f);

Differences from MATLAB: handle-array scopes, unfiltered lookup, logical operators (-not/-and/-or), -property, regular expressions and the 'flat' option are rejected.

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