There are two figures, assume figure 1 and figure 2. In figure 1,there is a button 'Next'. When 'Next' is clicked , figure 2 is expected to appear, this works fine by using the line of code open('TrafficSignConfig.fig');.
But when i click on exit button in figure 2, this button throws an error message.
'??? Attempt to reference field of non-structure array.
Error in ==> report_search>exit_Callback at 289 delete(handles.figure1);
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> report_search at 42 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)report_search('exit_Callback',hObject,eventdata,guidata(hObject)) '
Can any one please help me on this. i tried to search, but i could get any answers that i understand. Please suggest me an easy method
handles.figure1
figure1 is not a member of thehandles
variable is what it appears. – macduff