Im getting error inh GUI when i click the .fig file like this but when i run the dot m file of the same i m able to run the GUI what is the problem can any body help ?

1 回表示 (過去 30 日間)
Attempt to reference field of non-structure array.
Error in tumclass>pushbutton1_Callback (line 88) axes(handles.axes1);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in tumclass (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)tumclass('pushbutton1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
  1 件のコメント
sanjeev kumar
sanjeev kumar 2016 年 6 月 10 日
thanks a lot sir @ Walter Roberson i thought there was some problem with my Matlab software

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 6 月 9 日
You cannot run figures by double-clicking the .fig file: you must run the associated .m file.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by