settime.asv

来自「matlab 在pid领域的新的应用。用matlab环境实现pid控制。」· ASV 代码 · 共 18 行

ASV
18
字号
function settime
global p i d p2 i2 d2 time2 quxian2 s flagopen;
popup_sel_index = get(findobj(0,'tag','time'),'Value');
switch popup_sel_index
    case 1
        time2=round(10/0.4096);
    case 2
        time2=round(20/0.4096);
    case 3
        time2=round(30/0.4096);
    case 4
        time2=round(50/0.4096);
    case 5
        time2=round(100/0.4096);
    case 6
        time2=round(200/0.4096);
    
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?