get_time.m
来自「Matlab学习课件」· M 代码 · 共 15 行
M
15 行
function t=get_time
% Return the value of running time
%Can be used for simulation or real time -- comment out appropriate
% sections for each use
% Simulation section
global tstep
% For real time implementation:
t = toc;
tstep = t;
% For simulated (or calibrated) time
%t = tstep; % Return simulated time
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?