From: John on
Howdy!

I'm new to matlab and am a little unfamiliar with the error messages. When I open my GUI (which actually is working as I expect it to), the following error pops up in the command window...

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

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

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

Error in ==> guidemfile>@(hObject,eventdata)DataGrabber_GUI('figure1_CreateFcn',hObject,eventdata,guidata(hObject))


??? Error using ==> struct2handle
Error while evaluating figure CreateFcn

....any idea how to fix this???

Thanks!!!
From: Steven Lord on

"John " <jfishbac(a)gmail.com> wrote in message
news:i15091$roc$1(a)fred.mathworks.com...
> Howdy!
>
> I'm new to matlab and am a little unfamiliar with the error messages. When
> I open my GUI (which actually is working as I expect it to), the following
> error pops up in the command window...
>
> ??? Error using ==> feval
> Undefined function or method 'figure1_CreateFcn' for input arguments of
> type 'double'.

Are you opening your GUI by running the associated function file or are you
opening it by double-clicking on the figure file? You should do the former.

If you are opening the GUI by running the function file, have you changed
the function file (by removing one or more of the functions in the file,
perhaps?) since the last time you successfully opened it?

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: John on
"Steven Lord" <slord(a)mathworks.com> wrote in message <i152bb$e4e$1(a)fred.mathworks.com>...
>
> "John " <jfishbac(a)gmail.com> wrote in message
> news:i15091$roc$1(a)fred.mathworks.com...
> > Howdy!
> >
> > I'm new to matlab and am a little unfamiliar with the error messages. When
> > I open my GUI (which actually is working as I expect it to), the following
> > error pops up in the command window...
> >
> > ??? Error using ==> feval
> > Undefined function or method 'figure1_CreateFcn' for input arguments of
> > type 'double'.
>
> Are you opening your GUI by running the associated function file or are you
> opening it by double-clicking on the figure file? You should do the former.
>
> If you are opening the GUI by running the function file, have you changed
> the function file (by removing one or more of the functions in the file,
> perhaps?) since the last time you successfully opened it?
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
>
Yes,

I removed callbacks for some buttons that existed in the function file but the buttons no longer exist in the GUI. Any ideas?

Thanks!