편집자 메모: This file was selected as MATLAB Central Pick of the Week
This is an hourglass simulation.
Called without input arguments, it runs forever unless you close the figure. Called with input argument time, it will run once for the given period of time (in seconds).
Usage:
hourglass;
OR
hourglass(t);
You can expect more or less correct timing for t>20.
t is arbitrary, but i recommend to chose values between 30s and 600s.
Tillmann Stuebler, Dec 2016
인용 양식
Tillmann Stübler (2024). hourglass(time) (https://www.mathworks.com/matlabcentral/fileexchange/60580-hourglass-time), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Configure Simulation Conditions에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!