Control of arrow keys

I have a gui with next and back buttons that display successive graphs. Is there a way to enable the left/right arrow keys to control this as with the back/next buttons?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Mayo de 2012

0 votos

WindowKeyPressFcn at the figure level.
Caution: if zoom or pan are active then they take over control of key presses. A workaround for this exists though.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by