Elapsed Timer (print elapsed time)

버전 1.2.0.0 (1.71 KB) 작성자: Matt Caywood
Simple, useful utility for printing elapsed time and remaining time in a lengthy loop computation.
다운로드 수: 770
업데이트 날짜: 2010/8/5

라이선스 보기

A smarter version of the built-in functions tic and toc, made for iterative/loop computations.

Using it is just as simple:
etimer = elapsedtimer;

(then after each step)
steptimer(etimer);

After each step, prints out something like:

Elapsed time: 00:01:54 Time per step: 00:00:10 Time remaining: 00:00:25

To display time remaining, it needs to know the number of steps in the computation.
You can also set it to only print out every nth step, for example every 1000 steps.

인용 양식

Matt Caywood (2026). Elapsed Timer (print elapsed time) (https://kr.mathworks.com/matlabcentral/fileexchange/28247-elapsed-timer-print-elapsed-time), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Clocks and Timers에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.2.0.0

fixed major initialization bug

1.1.0.0

rewrote object-oriented & simplified

1.0.0.0