error while evaluating ui control feedback
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Rik
le 17 Fév 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!