How to check how long implementation time took

조회 수: 4 (최근 30일)
med-sweng
med-sweng 2013년 3월 21일
Is there a way in `matlab` (i.e; function) to check how long your program took to finish running?
Thanks.

답변 (1개)

Image Analyst
Image Analyst 2013년 3월 21일
How about tic and toc?
tic;
% Run some code...
toc
Or there's the Run and Time function on the tool ribbon.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by