Parallel Problem: Get keyboard input in 60 sec, otherwise jump out
Mostrar comentarios más antiguos
Hi to all, I recently encountered a problem. I want to get the keyboard input and read it and put something on the screen if the user puts a cerntain key such as 'q'. However, if the user doesn't put in anything in 20 sec, I want the time counter to start again. This procedure loops over for 60 times.
Can anyone help me with this? Thank you very much!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Entering Commands en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!