Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Button Callback - Matlab Issue
Date: Fri, 23 Oct 2009 09:57:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <hbruli$o6j$1@fred.mathworks.com>
References: <hbpqj1$i7o$1@fred.mathworks.com> <hbptbe$3uc$1@fred.mathworks.com> <hbq01l$of$1@fred.mathworks.com> <hbq4cb$ecq$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 1256291826 24787 172.30.248.35 (23 Oct 2009 09:57:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 23 Oct 2009 09:57:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2028979
Xref: news.mathworks.com comp.soft-sys.matlab:579544


Yes, you are right, i need callback in Button1 so when radio1 is selected do that task otherwise depending on which radio is selected do that particular task.... the task is to create a plot on axes so please help.........




"Lars" <mustermann.klaus.TO.REMOVE@gmx.de> wrote in message <hbq4cb$ecq$1@fred.mathworks.com>...
> If I understood right you want to implement a callback of a pushbutton.
> That can mean the action occurs not by selecting a radio button?
> 
> In this case a variable like "handles.myCaseId" is a good solution.
> 
> If action shall occure by clicking a radio button AND they are exclusive, meaning activating one radio will deactivate the other(s), then a buttonGroupBox is the solution. In this case you can implement the selectionChanged-function of the buttonGroupBox.