![]() |
#2
bennywoo20052007-05-15 17:07
|
我要从GUI的输入界面进行计算,但是老是显示“get'错误,
程序如下
set(hcalc,'callback','a = str2num(get(haedit,''string''));b = str2num(get(haedit,''string''));c= str2num(get(haedit,''string''));d= str2num(get(haedit,''string''));e= str2num(get(haedit,''string''));f= str2num(get(haedit,''string'')); g = str2num(get(hbedit,''string''));p=[a b c d e f g];load Anet;y=sim(net,p); set(habedit,''string'',num2str(y))');
请高手指点,在线等,先谢过了