h = findall()
h = findall(prop, value)
h = findall(objhandles, prop, value)
h = findall(objhandles, 'flat', ...)
h = findall(objhandles, '-depth', d, ...)
| Parameter | Description |
|---|---|
| objhandles | graphics object or array of graphics objects to search from. |
| prop | property name as a character vector or scalar string. |
| value | property value to match. |
| d | nonnegative integer search depth, or Inf. |
| Parameter | Description |
|---|---|
| h | column array of matching graphics objects. |
findall searches the graphics object hierarchy like findobj, but includes objects whose HandleVisibility is 'off' or 'callback'.
When the search starts from groot, hidden figures are traversed even when ShowHiddenHandles is 'off'.
close all
f = figure('Visible', 'off', 'HandleVisibility', 'off', 'Tag', 'hiddenFigure');
h = findall(groot(), 'Tag', 'hiddenFigure')
| Version | Description |
|---|---|
| 1.17.0 | initial version |