GUI function error: SizeChangedFcn, but resiziing is set to 'off'

4 visualizaciones (últimos 30 días)
daniel
daniel el 5 de Oct. de 2017
Editada: daniel el 5 de Oct. de 2017
My GUI is giving me a strange error: when I open it for the first time, the GUI doesnt become visible until I call one of the axes - eg.
endaxes(handles.axes2);
However when the GUI does open I am now getting this error:
Error using MYFunction>figure1_SizeChangedFcn
Too many input arguments.
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in MYFunction (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MYFunction('figure1_Siz
eChangedFcn',hObject,eventdata,guidata(hObject))
Error while evaluating Figure SizeChangedFcn
Note this GUI used to work well. However since then the GUI figure has been opened on more than one machine / display / matlab install (and was saved) which could be contributing. I have set the GUI resize option to 'off', or unresizable. Environment is 2015b.
One other point: I am unable to manually resize the GUI figure in GUIDE.
Any advise helps!

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by