Hello, I am writing a small project with GUI and had this error while running the .fig file. This error does not happen when I click run while the .m file is open, only if I start directly from the .fig file.
Attempt to reference field of non-structure array.Error in But_Disable (line 3)Error in Minesweeper>Start_Callback (line 27)But_DisableError in gui_mainfcn (line 96) feval(varargin{:});Error in Minesweeper (line 15) gui_mainfcn(gui_State, varargin{:});Error in @(hObject,eventdata)Minesweeper('Start_Callback',hObject,eventdata,guidata(hObject))Error while evaluating uicontrol Callback
Please help me to see what is the problem, thanks. The files have been attached within the .zip file.
Best Answer