What does this error mean?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I'm not sure what this error means. I keep on getting it randomly ??? Error using ==> feval Undefined function or method 'input1_editText_Callback' for input arguments of type 'struct'.
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> ymv2102_final at 18
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)ymv2102_final('input1_editText_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
Answers (1)
Walter Roberson
on 15 Dec 2011
0 votes
It probably means that you do not have a routine input1_editText_Callback defined anywhere.
You seem to be using GUIDE. GUIDE flakes out when you delete or rename objects or their tags without using the GUIDE rituals.
There is a possibility that you do have a input1_editText_Callback but that it is defined in a different source file than expected.
What is not likely is that you do have a input1_editText_Callback defined but MATLAB is complaining because it knows that the first argument for it is not a struct. Such things are possible but would require that the code have been edited to create a classdef file, or that the code had been placed in a folder whose name started with '@', neither of which is likely.
This having been said, it is unexpected that it would be trying to invoke the input1_editText_Callback routine on a struct: it would imply that hObject had somehow been replaced with a structure, such as the structure for eventdata. But that would not keep an ordinary routine such as input1_editText_Callback from being found: it would just cause problems when it executed.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!