Matlab--测程序运行时间

tic
for i = 1:1:100
end
toc

原文地址:https://www.cnblogs.com/helloweworld/p/3522552.html