Parallel Problem: Get keyboard input in 60 sec, otherwise jump out
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!