matlab gui下拉菜单 20
求解我想用matlabgui下拉菜单实现功能结果出错了求解答。???Undefinedfunctionorvariable'sam'.Errorin==>untitled...
求解我想用matlab gui下拉菜单实现功能结果出错了求解答。
??? Undefined function or variable 'sam'.
Error in ==> untitled>popupmenu1_Callback at 217
handles.y1=handles.simu_len_r_s_zhu(sam,start,step,point, handles);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> untitled at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
guidemfile>@(hObject,eventdata)untitled('popupmenu1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
??? Undefined function or variable 'y1'.
Error in ==> untitled>pushbutton1_Callback at 95
plot(x,y1,'ob',x,y2,'*r',x,y1,x,y2);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> untitled at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
guidemfile>@(hObject,eventdata)untitled('pushbutton1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback 展开
??? Undefined function or variable 'sam'.
Error in ==> untitled>popupmenu1_Callback at 217
handles.y1=handles.simu_len_r_s_zhu(sam,start,step,point, handles);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> untitled at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
guidemfile>@(hObject,eventdata)untitled('popupmenu1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
??? Undefined function or variable 'y1'.
Error in ==> untitled>pushbutton1_Callback at 95
plot(x,y1,'ob',x,y2,'*r',x,y1,x,y2);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> untitled at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
guidemfile>@(hObject,eventdata)untitled('pushbutton1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询