error while evaluating ui control feedback
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2020-2-17
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!