waitforbuttonpress do not respond to keyboard
Mostrar comentarios más antiguos
Hi all,
I have a program that calls waitforbuttonpress very frequently. (about 4 times per second). After running it for some time, the waitforbuttonpress becomes not responsive to keyboard activities and it only responds to mouse clicks. Does anybody know why? Is there any way to fix it?
Thank you very much in advance!
Best, Liao
1 comentario
covariant_cat
el 29 de Jun. de 2013
Editada: covariant_cat
el 29 de Jun. de 2013
Respuestas (1)
Guru
el 3 de Jul. de 2013
Is there a reason you chose to use waitforbuttonpress if you are doing it that frequently??
A much easier and better solution would be to replace all your calls of waitforbuttonpress and change it to
pause
HTH
Categorías
Más información sobre Desktop en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!