How to time a user input
5 ビュー (過去 30 日間)
古いコメントを表示
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!
0 件のコメント
回答 (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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!