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 次查看(过去 30 天)
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

采纳的回答

Image Analyst
Image Analyst 2014-4-17
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by