Help for GUI initializing Problem
显示 更早的评论
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
1 个评论
Image Analyst
2019-8-25
You forgot ot attach your .m and .fig file, and any other files that need to be read in at run-time. We can look at it after that.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!