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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com