Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUI--radioButton
Date: Thu, 29 Oct 2009 18:48:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <hcco12$sdu$1@fred.mathworks.com>
References: <faf5ls$56b$1@fred.mathworks.com> <fahmos$g41$1@fred.mathworks.com> <fahnvb$3gc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256842082 29118 172.30.248.35 (29 Oct 2009 18:48:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 Oct 2009 18:48:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2028979
Xref: news.mathworks.com comp.soft-sys.matlab:581108


I have tried 

Check = get(handles.uibuttongroup,'SelectedObject')
if Check == radiobutton1
% than perform this task

elseif Check == radiobutton2
% than perform this task

==================

It returns the error

???Reference to non-existent field 'uibuttongroup'


Any help please? or any alternate way to perform which radio button is selected, I need this for my push button callback, please help! thanks