帮助中心帮助中心
查找指定对象的所有子级
child_handles = allchild(handle_list)
child_handles = allchild(handle_list) 为每个句柄返回所有子级的列表(包括具有隐藏句柄的子级)。如果 handle_list 为单个元素,则 allchild 以向量返回该输出。如果 handle_list 为句柄向量,则输出是元胞数组。
handle_list
allchild
比较以下两个语句返回的结果:
axes get(gca,'Children') allchild(gca)
在 R2006a 之前推出
findall | findobj
findall
findobj
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office