Main Content

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)

Version History

Introduced before R2006a

See Also

|