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

답변 (1개)

Katarzyna Wieciorek
Katarzyna Wieciorek 2015년 5월 29일

0 개 추천

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.

댓글 수: 1

Nikhil Roy
Nikhil Roy 2015년 5월 29일
.http://in.mathworks.com/matlabcentral/profile/authors/5300822-katarzyna-wieciorek. thanks for the answering..but my problem is different...i want to avoid the use of enter key after each input..

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2015년 5월 29일

댓글:

2015년 5월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by