How to know time that spent matlab in solving problem?

How to know the time that spent matlab in solving or calculating the problem?

답변 (2개)

Evan
Evan 2014년 8월 19일
편집: Evan 2014년 8월 19일
help profile
or
help tic
Running tic and toc will simply tell you how much time passed between the respective commands.
Running profile on and profile viewer will give more detailed information, including the time spent in each subfunction of your code. It can be very helpful for finding bottlenecks.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2014년 8월 19일

편집:

2014년 8월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by