Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Button Callback - Matlab Issue
Date: Thu, 22 Oct 2009 14:53:03 +0000 (UTC)
Organization: Teles AG
Lines: 12
Message-ID: <hbprkf$4lj$1@fred.mathworks.com>
References: <hbpqj1$i7o$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256223183 4787 172.30.248.38 (22 Oct 2009 14:53:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 14:53:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1095707
Xref: news.mathworks.com comp.soft-sys.matlab:579345


"PinkLab " <hussains_k@hotmail.com> wrote in message <hbpqj1$i7o$1@fred.mathworks.com>...
> I am trying to create a callback on push button, 
> 
> If radio1 is selected then run case 1 
> If radio2 is selected then run case 2
> If radio3 is selected then run case 3
> 
> Any hint how to write this code??

get( radio1, value)

see also button group