Fork me on GitHub

The MATLAB Profiler

1 function a = myFunc(a,b,c,d,e)
2 for idx = 1 : 100
3 a = a-b + c^d*log(e);
4 end
5 end
6 
7 >> profile on; myFunc(a,b,c,d,e); profile report

 

posted @ 2015-05-11 23:58  小奔奔  阅读(110)  评论(0编辑  收藏  举报