Matlab计算程序运行时间

Matlab计算程序运行时间:

tic

你的代码;

toc


或者:

t=cputime;

你的操作;

cputime-t

你可能感兴趣的:(matlab)