Effacer les filtres
Effacer les filtres

function that call esc key in m file in gui

4 vues (au cours des 30 derniers jours)
mary
mary le 19 Juin 2011
hi dudes, i want to terminate imellipse "wait for user" state and i just noticed that this happens by presing esc key. now i want a way as if ESC key is pressed while actually it's not pressed by user, any idea? thanks

Réponses (1)

Jan
Jan le 19 Juin 2011
Hitting ESC calls "imellipse/resume". So I assume "imeH.resume" might solve your problem, with imeH is the handle of the IMELLIPSE object.
But you can simulate a keyboard hit using the java.awt.robot also, see: Undocumented: Robot.

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by