フィルターのクリア

Problem with running my GUI

1 回表示 (過去 30 日間)
Dimitris Arapidis
Dimitris Arapidis 2013 年 9 月 15 日
When i run my GUI.fig directly from the folder list i get the following errors:
Attempt to reference field of non-structure array.
Error in GUIprop>propagation_Callback (line 81)
x1 = str2double(get(handles.x1,'String'));
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in GUIprop (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)GUIprop('propagation_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
When i open it in order to edit it and run it from there it runs as normal without error. Any idea as to what i am doing wrong?
  1 件のコメント
ESHAAN
ESHAAN 2013 年 9 月 15 日
handles.x1 is incorrect and try to search for correct gui component so that you can read the tag name.
like the tags are : handles.edit1 handles.text1 handles.pushbutton1 and so on

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

採用された回答

Image Analyst
Image Analyst 2013 年 9 月 15 日
You can't run an m-file by clicking on the corresponding .fig filename listed in the list of files in the "Current folder" panel. That's just the way it is. You can run it from within GUIDE, or from the command window by typing the name (without .fig or .m), or you can run it by clicking the green triangle on the tool ribbon (if you have the editor window open in MATLAB), but not by clicking the .fig file on the list of filenames in the Current Folder panel.
  1 件のコメント
Dimitris Arapidis
Dimitris Arapidis 2013 年 9 月 15 日
thanks for clearing that up, i should have read some instructions first...

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

その他の回答 (0 件)

カテゴリ

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