Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Get handle of specific objects in a Figure-window ?
Replies: 2   Last Post: Jun 20, 1996 1:01 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tony Asplund

Posts: 2
Registered: 12/7/04
Get handle of specific objects in a Figure-window ?
Posted: Jun 18, 1996 6:32 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Sorry, something went wrong the last time...
So you just might have to look at two of
these.... Again..sorry..

Hi,

I have a figure-window where I have created
several uicontrols and uimenues.

What I whant is to close some of these,
lets say either all uicontrols or just
some of them.

A while ago I got a tip of a function called
'findobj'...
And should work if I do like this:


fig=gcf;
kids=get(fig,'Children');
ctrls=findobj(kids,'type','uicontrols');
delete(ctrls);


if I want to delete all the uicontrols in the figure-window,
but it does not.

Does this function 'findobj' exist in Matlab 4.0 or is it only
available in later versions ? (or is it included in some toolbox ?)

If there is some other way of doing this, I would be very grateful
if someone could find in his/her heart to share it with me.

Thanks in advance.

/Tony Asplund (el91ta@kna.hk-r.se)





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.