フィルターのクリア

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

10 ビュー (過去 30 日間)
Vamsi
Vamsi 2023 年 7 月 26 日
コメント済み: Vamsi 2023 年 11 月 9 日
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.
  2 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 7 月 26 日
Go through the webpages given, there's a good chance you will find a solution.
Vamsi
Vamsi 2023 年 7 月 27 日
Thank you dyuman , above URL has good information...

サインインしてコメントする。

回答 (1 件)

Umang Pandey
Umang Pandey 2023 年 11 月 6 日
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

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by