Is there a function to look for the children and their property of an existing figure?
8 views (last 30 days)
Show older comments
Is there a function to look for the children and their property of an existing figure?
0 Comments
Accepted Answer
Walter Roberson
on 22 Feb 2013
Yes, findobj().
You already knew that from your previous question, http://www.mathworks.co.uk/matlabcentral/answers/64487-how-to-get-the-object-handle, which is still active and is waiting for you to clarify your question.
2 Comments
Walter Roberson
on 22 Feb 2013
"display" is ambiguous. And "children" can also be.
get(FigureHandle, 'Children') %if you want the immediate non-hidden children
findobj(FigureHandle) %visible handles at all levels
findall(FigureHandles) %visible and invisible handles at all levesl
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!