Filter löschen
Filter löschen

how to read user input which is keyboard stroke (left arrow and right arrow ) into app designer code

10 Ansichten (letzte 30 Tage)
how to read user input which is keyboard stroke (left arrow and right arrow ) into app designer code.
when ever user press left arrow , that need to read in app designer code.
please let me know how write code in app designer for reading keyboard input.

Antworten (1)

Umang Pandey
Umang Pandey am 6 Nov. 2023
Hi Vamsi,
You can use the keyboard callbacks to read keystrokes in your UI Figure. Specifically, the "KeyPressFcn" and "KeyReleaseFcn" functions are designed to be activated upon the respective events of a key press and key release within the UI figure or its child components.
Refer the following documentation for more information:
Best,
Umang

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by