clarkeno1
2008-06-19, 09:34
第一次使用GUI,发现写的程序在GUIDE里和EDITOR里运行都能成功,但在MATLAB主界面里运行就会出错,错误信息如下:
Error in ==> moore_circle>start_Callback at 151
Dx=str2double(get(handles.delta_x,'string'));
Error in ==> gui_mainfcn at 95
feval(varargin{:});
Error in ==> moore_circle at 42
gui_mainfcn(gui_State, varargin{:});
??? Error using ==> moore_circle('start_Callback',gcbo,[],guidata(gcbo))
Attempt to reference field of non-structure array.
??? Error while evaluating uicontrol Callback
然后我又选择mcc -m生成程序文件,又产生如下错误:
??? Error executing mcc, return status = -1073741811.
希望高手给与帮助!!!小弟不胜感谢!!!!
PS.小弟用的是版本是7.4.0.287(R2007a)
Error in ==> moore_circle>start_Callback at 151
Dx=str2double(get(handles.delta_x,'string'));
Error in ==> gui_mainfcn at 95
feval(varargin{:});
Error in ==> moore_circle at 42
gui_mainfcn(gui_State, varargin{:});
??? Error using ==> moore_circle('start_Callback',gcbo,[],guidata(gcbo))
Attempt to reference field of non-structure array.
??? Error while evaluating uicontrol Callback
然后我又选择mcc -m生成程序文件,又产生如下错误:
??? Error executing mcc, return status = -1073741811.
希望高手给与帮助!!!小弟不胜感谢!!!!
PS.小弟用的是版本是7.4.0.287(R2007a)