Control of arrow keys
1 view (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Walter Roberson
on 17 May 2012
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Specifying Target for Graphics Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!