I have made a gui which opens another gui & after inserting values in the edit text of 2nd gui when i press the push button to run a program it shows errors like'
Show older comments
?? Attempt to reference field of non-structure array.
Error in ==> gui3>pushbutton1_Callback at 81 Q=str2double(get(handles.edit1,'string'))
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> gui3 at 42 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)gui3('pushbutton1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
3 Comments
Walter Roberson
on 22 Apr 2013
How does it open the second gui ?
Riya
on 22 Apr 2013
Walter Roberson
on 22 Apr 2013
That will not work. See my Answer.
Accepted Answer
More Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!