error while evaluating ui control feedback
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Marius Tøndel Eliassen
el 17 de Feb. de 2020
Comentada: Marius Tøndel Eliassen
el 17 de Feb. de 2020
I am trying to run code for a set of scripts that are created for a listening experiment (psychoacoustics). I get this error:
Error using close
Reference to non-existent field 'allowed_to_close'.
Error in close
Error in mainmenu>men_close_Callback (line 546)
close all
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in mainmenu (line 80)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)mainmenu('men_close_Callback',hObject,eventdata,guidata(hObject))
Caused by:
Error while evaluating figure CloseRequestFcn
Error while evaluating Menu Callback.
Error using close
Reference to non-existent field 'allowed_to_close'.
Error in close
Error in load_test_series (line 38)
close all
Error in open_test_series>pb_open_Callback (line 140)
load_test_series(opentestseriespath);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in open_test_series (line 74)
gui_mainfcn(gui_State, varargin{:});
Caused by:
Error while evaluating figure CloseRequestFcn
Error while evaluating UIControl Callback.
>>
2 comentarios
Rik
el 17 de Feb. de 2020
There is a field allowed_to_close that isn't set when another function calls close all. Why a GUI would contain that in the first place is a bit puzzling, since all relevant handles should be available, so you can explicitly close windows you don't need anymore.
Respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!