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
채택된 답변
Daniel Shub
2011년 5월 7일
I would look at handles.input1_editText. It is likely that somewhere handles got overwritten and is no longer a structure array.
댓글 수: 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!