measure the time and run of each part

조회 수: 1 (최근 30일)
huda nawaf
huda nawaf 2013년 5월 10일
hi, how can measure the time of each part running in my code, if these parts within loop? i.e I want the total time of each part after finish the loop. thanks

채택된 답변

Image Analyst
Image Analyst 2013년 5월 10일
Have you tried the "Run and time" button on the toolstrip?
  댓글 수: 3
Image Analyst
Image Analyst 2013년 5월 11일
If you have R2012b or later, it's on the Home tab (tool bar ribbon). If you have an earlier version, ask someone else, like the Mathworks, because I don't have old versions. I think it's called something like profiler, perhaps - I don't remember.
huda nawaf
huda nawaf 2013년 5월 11일
thank u so much, I got it

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by