GUI development.

1 Ansicht (letzte 30 Tage)
Rohini
Rohini am 7 Mai 2011
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

Akzeptierte Antwort

Daniel Shub
Daniel Shub am 7 Mai 2011
I would look at handles.input1_editText. It is likely that somewhere handles got overwritten and is no longer a structure array.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by