i have created a Gui using GUIDE in Matlab and added some functions for genrating graphs, i am able to excute the .m file and genrate graphs but graphs are not getting genrated when i run the .fig file i am getting some errors which are as follows

1 view (last 30 days)
Error in ==> two_axes>plot_button_Callback at 83 fw1 = str2double(get(handles.frontrabbet_input,'String'));
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> two_axes at 43 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)two_axes('plot_button_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback

Accepted Answer

Image Analyst
Image Analyst on 17 Apr 2014
How exactly are you running "the fig file"? You should either click the green triangle in GUIDE, or click the green triangle in the text editor, or type F5 in the text editor. Do not double click the .fig file in the Current folder panel which lists the files.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!