Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: GUI--radioButton
Date: Tue, 21 Aug 2007 16:59:40 +0000 (UTC)
Organization: gw
Lines: 37
Message-ID: <faf5ls$56b$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 1187715580 5323 172.30.248.37 (21 Aug 2007 16:59:40 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 21 Aug 2007 16:59:40 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1068479
Xref: news.mathworks.com comp.soft-sys.matlab:424814



I created a radio button in GUIDE and then right clicked 
and chose "View Callback" and then selected callback. this 
led to creation of a callback for that radiobutton in my 
mfile.   then i deleted the radiobutton call back from 
mfile and ran it. i got an error:

??? Error using ==> feval
Undefined function or method 'InjectTimeOne_Callback' for 
input arguments of type 'struct'.

Error in ==> gui_mainfcn at 95
        feval(varargin{:});

Error in ==> finalGUI at 42
    gui_mainfcn(gui_State, varargin{:});

??? Error using ==> finalGUI('InjectTimeOne_Callback',gcbo,
[],guidata(gcbo))
Error using ==> feval
Undefined function or method 'InjectTimeOne_Callback' for 
input arguments of type 'struct'.

??? Error while evaluating uicontrol Callback






Is there anyway to get rid of radiobutton callback in 
mfile without getting an error??  

If i want to use "switch case..." for a couple of 
radiobuttons, then I won't need radiobutton callbacks, 
correct? 

thanks a lot!