From: Chris on
Hi Everyone,
I have a GUI that runs fine, all the code I've written works correctly and it accomplishes what it should. However, every time I run the GUI I get the following error message in the terminal:

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

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

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

Error in ==> @(hObject,eventdata)AAPC('figure1_ResizeFcn',hObject,eventdata,guidata(hObject))


??? Error using ==> drawnow
Error while evaluating figure ResizeFcn

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

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

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

Error in ==> @(hObject,eventdata)AAPC('figure1_ResizeFcn',hObject,eventdata,guidata(hObject))


??? Error using ==> figure
Error while evaluating figure ResizeFcn

The Message appears to be related to resizing my gui. I used/am using Guide to create the GUI. Under the guide "GUI Option" I have the resize behavior set to "Non-resizable," however, I get the same error message no matter what that option is set to. I want my gui to be non-resizable, but I can't track down what's causing this error message.

Any help would be appreciated.

Thanks!