Get handles of all (figure) objects

Version 1.1.0.0 (1.64 KB) by Marc
Get a tree of object handles using the root as base
173 Downloads
Updated 31 Jul 2014

View License

harr = CHILDINFO displays a tree of active handles in your command window. All found handles are returned in harr. Indices in harr are as displayed in the command window.
Output example:
>> harr = childinfo;
[00001] root
[00002] figure (Figure 1)
[00003] axes
[00004] line
[00005] axes
[00006] line
[00007] line
[00008] figure (Figure 2)
[00009] axes
[00010] rectangle
>> numel(harr)
ans =

10

>>

Cite As

Marc (2024). Get handles of all (figure) objects (https://www.mathworks.com/matlabcentral/fileexchange/47411-get-handles-of-all-figure-objects), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Objects in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

title change...

1.0.0.0