📄 timetest.m
字号:
% Time test loop (script file)
% File name: timetest.m
ttest(1)=0;
i=1;
tic; % tic starts Matlab's stopwatch functions
while i <= 10
tnew=toc;
if tnew > ttest(i)
i = i + 1;
ttest(i) = tnew;
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -