MATLAB Answers

Leon
0

How to link an App-Designer push button to a keyboard key?

Asked by Leon
on 16 Sep 2019
Latest activity Commented on by Liqing Jiang on 17 Sep 2019
I create two push buttons for my program, PREVIOUS and NEXT, how do I linke them to the Left and right Arrow key on my keyboard?

  0 Comments

Sign in to comment.

Products


Release

R2019a

1 Answer

Answer by Nicolas Broch on 17 Sep 2019

Hey,
you can implement the callback UIFigureKeyRelease on your UIFigure object. Then, you juste have to implement the code to get left or right.
Regards

  1 Comment

Many thanks for the hint, Nicolas!
Do you have an example code for this purposes?

Sign in to comment.