%% MoveAbsolute & get datadata_file_prefix = 'F:Matlab2017abindata';
data_number=1;
for j = -20 :10:130
m_Abs=j;
[err_AbsMove,errstring11] = SMC100.PA_Set(controllerAdd2,m_Abs) ;
if (err_AbsMove ~= 0)
disp (['Error ' num2str(err_AbsMove) ' occurred while doing MoveAbsolute ! ']) ;
return ;
end
% 监测PA_Set执行完成
[err_StatusGet,ErrorCode12,OR_status,errstring12] = SMC100.TS(controllerAdd2);
while OR_status ~= '33'
disp (['Status ' num2str(err_StatusGet) ' Doing MoveAbsolute! ']) ;
[err_StatusGet,ErrorCode12,OR_status,errstring12] = SMC100.TS(controllerAdd2);
end
pause(2)
% get data
imaqhwinfo; % returns information about all the adaptors available on the system
win_info = imaqhwinfo('winvideo');
最后
以上就是风趣西牛最近收集整理的关于matlab 曲线循环命名,matlab如何实现循环命名文件命的全部内容,更多相关matlab内容请搜索靠谱客的其他文章。
发表评论 取消回复