How to time a user input
이전 댓글 표시
I'm relatively new to matlab and am struggling to find a means to use a timer to measure the time it takes for a user to type their input in. I've looked at using "tic toc" with no luck and sinestream. Would very muchappreciate any hints or pointers cheers!
답변 (2개)
Amit
2014년 1월 23일
tic;
I = input('User Type Value');
h = toc;
Here h is the amount of time taken by the user to type the value.
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!