applmovecode5.m
来自「用于网络控制系统仿真」· M 代码 · 共 17 行
M
17 行
function [exectime, data] = APPLmovecode5(seg, data)switch seg, case 1, noww = ttCurrentTime; if (noww > 3 & noww < 8) ttAnalogOut(2, 2); % Move in pos. y-dir else ttAnalogOut(2, 0); % Stay still end exectime = 0.0002; case 2, exectime = -1;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?