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 16:08:21 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 14
Message-ID: <hbq01l$of$1@fred.mathworks.com>
References: <hbpqj1$i7o$1@fred.mathworks.com> <hbptbe$3uc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256227701 783 172.30.248.37 (22 Oct 2009 16:08:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 16:08:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:579371


Have all three call the same callback:

function []=radio_callback(hObject,EventData,handles)

switch hObject
    case handles.radio1
        % run case 1
    case handles.radio2
        % run case 2
    case handles.radio3
        % run case 3
    otherwise
        % Whatever
end