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!