马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
b1 =uicontrol('parent',h0,...
'style','pushbutton',...
'string','刷新',...
'position',[250 400 60 20],...
'callback', ['dat2 = get(e2,''string'');,'...
'dat3 = get(e3,''string'');,'...
'dat4 = get(e4,''string'');,'...
'dat5 = get(e5,''string'');,'...
'dat6 = get(e6,''string'');,'...
'dat7 = get(e7,''string'');,'...
'Satellite(N_PRN,2:7) = str2num([dat2 dat3 dat4 dat5 dat6 dat7]);']);
提示错误:
??? Subscripted assignment dimension mismatch.
??? Error using ==> dat2 = get(e2,'string');,dat3 = get(e3,'string');,dat4 = get(e4,'string');,dat5 = get(e5,'string');,dat6 = get(e6,'string');,dat7 = get(e7,'string');,Satellite(N_PRN,2:7) = str2num([dat2 dat3 dat4 dat5 dat6 dat7]);
Subscripted assignment dimension mismatch.
??? Error while evaluating uicontrol Callback
检查了N遍了,看不出来:@L |