matlab算法耗时计算

来源:互联网 发布:停车软件 编辑:程序博客网 时间:2024/05/13 03:52

第一,  采用cpu计时变量:

T=cputime;

……

E=cputime-T;

第二,  M文件调用记录:profile函数