getkey
Get a keypress
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Jos (10584) (2026). getkey (https://se.mathworks.com/matlabcentral/fileexchange/7465-getkey), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: waitforbuttonpressfh, getkeywait, YESNO, SMARTY: A Vision Based Autonomous Ball Sorting Robotic System, waitinput
General Information
- Version 2.1.0 (2.91 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.1.0 | modernised & added typing game example |
||
| 1.3.0 | Update 2.0 (june 2012): ability to get multiple keypresses |
||
| 1.2.0 | changed some figure properties; added check of figure existence |
||
| 1.1.0 | tested for newer releases |
||
| 1.0.0 | updated lay-out |