I would look at handles.input1_editText. It is likely that somewhere handles got overwritten and is no longer a structure array.
GUI development.
1 次查看(过去 30 天)
显示 更早的评论
Hello.
I am getting the following error for every GUI I try to execute. Can someone please explain what is wrong?
??? Attempt to reference field of non-structure array.
Error in ==> myAdder>add_pushbutton_Callback at 134 a = get(handles.input1_editText,'String');
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> myAdder at 42 gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
I executed the myadder GUI given here: http://blinkdagger.com/matlab/matlab-gui-graphical-user-interface-tutorial-for-beginners/
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!