setting a time limit for input of a data
3 ビュー (過去 30 日間)
古いコメントを表示
i have problem with input i haves 8 inputs in my program how to set time limit for each input such that after the time limit program will automatically move to the next line example: a=input('NAME','s'); b=input('AGE','s'); Here time for input of data 'a' will be 10 seconds.After 10 seconds without pressing enter key the control goes to next line that is input of 'b'; please help me with this
NIKHIL ROY
0 件のコメント
回答 (1 件)
Katarzyna Wieciorek
2015 年 5 月 29 日
Maybe you thought about this already: http://www.mathworks.com/help/matlab/ref/toc.html#outputarg_elapsedTime - using a variable of elapsed time in a loop.
参考
カテゴリ
Help Center および File Exchange で Dynamic System Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!