how to get keyboard in matlab
28 views (last 30 days)
Show older comments
I donot want to use UIFigure to get keyboard input. I need a function that looks like key = getKeyPress(),key = z when I press "z" on the keyboard.Do you know?
3 Comments
Adam Danz
on 13 May 2021
Would you want to use a regular figure instead of a uifigure or are you trying to avoid using any figure at all?
Answers (2)
Walter Roberson
on 14 May 2021
psychtoolbox http://psychtoolbox.org/ has several input methods that do not require use of figures to receive typing.
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!