Thread Subject: How to find object 'panel' in a figure?

Subject: How to find object 'panel' in a figure?

From: damayi

Date: 27 Jul, 2009 06:27:17

Message: 1 of 2

Dear all
As you know, we can use findobj to find any object that has special
properties, however, it seems that it cannot find 'Panel' object. Now
there is a figure and contains many Panel objects, how to find all the
Panel objects?

Best Regards
Bin YAO
2009-7-27

Subject: How to find object 'panel' in a figure?

From: Steven Lord

Date: 27 Jul, 2009 13:56:32

Message: 2 of 2


"damayi" <damayi@gmail.com> wrote in message
news:da59ab8a-8536-4c08-a76d-1f8187051a7b@b14g2000yqd.googlegroups.com...
> Dear all
> As you know, we can use findobj to find any object that has special
> properties, however, it seems that it cannot find 'Panel' object. Now
> there is a figure and contains many Panel objects, how to find all the
> Panel objects?

Do you want to find objects of Type uipanel?

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/uipanelproperties.html#Type

Or are you interested in objects of Type uicontrol and Style frame?

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/uicontrol_props.html#Style

If the object that you're looking for has HandleVisibility set to 'off',
then use FINDALL instead of FINDOBJ.

--
Steve Lord
slord@mathworks.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
findall Sprinceana 22 Aug, 2009 04:19:05
findobj Sprinceana 22 Aug, 2009 04:19:05
reference Sprinceana 22 Aug, 2009 04:19:05
rssFeed for this Thread

Contact us at files@mathworks.com