Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
uibuttongroup bug?

Subject: uibuttongroup bug?

From: of

Date: 29 Nov, 2010 14:21:03

Message: 1 of 2

Hi,
I have a following problem: whenever I create an uibuttongroup, its type is then reported as 'uipanel' and not 'uibuttongroup' as would be expected.

The problem is demonstrated by typing:

***
>> h = uibuttongroup;
>> get(h,'Type')

ans =

uipanel
***

Matlab help on uibuttongroup property 'Type' says this:

***
Type

    string (read-only)

    Object class. This property identifies the kind of graphics object. For uibuttongroup objects, Type is always the string 'uibuttongroup'.
***

Is this a bug? I'm using R2009b.
Thanks
--of

Subject: uibuttongroup bug?

From: Aurelien Queffurust

Date: 29 Nov, 2010 14:52:03

Message: 2 of 2

"of" <no_mail@nomail.com> wrote in message <id0csf$8u7$1@fred.mathworks.com>...
> Hi,
> I have a following problem: whenever I create an uibuttongroup, its type is then reported as 'uipanel' and not 'uibuttongroup' as would be expected.
>
> The problem is demonstrated by typing:
>
> ***
> >> h = uibuttongroup;
> >> get(h,'Type')
>
> ans =
>
> uipanel
> ***
>
> Matlab help on uibuttongroup property 'Type' says this:
>
> ***
> Type
>
> string (read-only)
>
> Object class. This property identifies the kind of graphics object. For uibuttongroup objects, Type is always the string 'uibuttongroup'.
> ***
>
> Is this a bug? I'm using R2009b.
> Thanks
> --of

It is a mistake in the doc within 9b.
It is fixed as of 10a:
http://www.mathworks.com/help/techdoc/ref/uibuttongroupproperties.html#bq6apav-1

Aurélien,
http://blog.developpez.com/matlab4geek/

Tags for this Thread

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.

Contact us