Dear friends
I made a GUI. At first, my gui worked correctly. Then, I decide to add a starting page where there is a pushbotomn to start main page. I fact, the pushbutton4 in the start page and will call uipanel10 in the main page for apprearing.
Here, there is a error when I want to start my gui by double click on ".fig" file as folowing:
"??? Attempt to reference field of non-structure array.
Error in ==> untitled1>pushbutton4_Callback at 6260
set(handles.uipanel10,'Visible','on');
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> untitled1 at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)untitled1('pushbutton4_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback"
but when i open ".m" or by "guide" command, the error doesn't appear.
Please help me.
Regards
Best Answer