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. Otherwise, the output is a cell array.

Examples

Compare the results returned by these two statements.

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

See Also

findall, findobj

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS