matlab界面edit text输入一维数组
我要在matlab界面edittext中输入以为数组,不是一个数,用a=str2num(get(handles.edit1,'string'));显示有错误definit...
我要在matlab界面edit text中输入以为数组,不是一个数,用a=str2num(get(handles.edit1,'string')); 显示有错误definition1是函数名
Error in ==> definition1>pushbutton1_Callback at 405
a=str2num(get(handles.edit25,'string'))
Error in ==> gui_mainfcn at 75
feval(varargin{:});
Error in ==> definition1 at 44
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback. 展开
Error in ==> definition1>pushbutton1_Callback at 405
a=str2num(get(handles.edit25,'string'))
Error in ==> gui_mainfcn at 75
feval(varargin{:});
Error in ==> definition1 at 44
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback. 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询