Skip to Main Content Skip to Search
Product Documentation

allchild - Find all children of specified objects

Syntax

child_handles = allchild(handle_list)

Description

child_handles = allchild(handle_list) returns the list of all children (including ones with hidden handles) for each handle. If handle_list is a single element, allchild returns the output in a vector. If handle_list is a vector of handles, the output is a cell array.

Examples

Compare the results these two statements return:

axes
get(gca,'Children')
allchild(gca)

See Also

findall | findobj

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS