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

조회 수: 1 (최근 30일)
Leon
Leon 2019년 9월 16일
댓글: Leon 2019년 9월 17일
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?

답변 (1개)

Nicolas B.
Nicolas B. 2019년 9월 17일
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
Leon
Leon 2019년 9월 17일
Many thanks for the hint, Nicolas!
Do you have an example code for this purposes?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by