String 错误:";找不到';获取';字符串类的方法;
我在用GUIDE编码。我想从String 错误:";找不到';获取';字符串类的方法;,string,matlab,class,methods,String,Matlab,Class,Methods,我在用GUIDE编码。我想从handles.edit1,…handles.edit8获取数据输入,并保存到变量handles.in(1,1),…handles.in(1,8)。我的代码如下,我得到一个错误: 找不到字符串类的“get”方法 你应该改变 edit = ["handles.edit1","handles.edit2","handles.edit3","hanles.edit4","handles.edit5","handles.edit6","handles.edit7","hand
handles.edit1
,…handles.edit8
获取数据输入,并保存到变量handles.in(1,1)
,…handles.in(1,8)
。我的代码如下,我得到一个错误:
找不到字符串类的“get”方法
你应该改变
edit = ["handles.edit1","handles.edit2","handles.edit3","hanles.edit4","handles.edit5","handles.edit6","handles.edit7","handles.edit8"]
到
我无法理解您的代码或问题,也无法复制您的代码或问题。你最好看一看
edit = ["handles.edit1","handles.edit2","handles.edit3","hanles.edit4","handles.edit5","handles.edit6","handles.edit7","handles.edit8"]
edit = [handles.edit1,handles.edit2,handles.edit3,hanles.edit4,handles.edit5,handles.edit6,handles.edit7,handles.edit8];