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?

 채택된 답변

Walter Roberson
Walter Roberson 2012년 5월 17일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by