GETK

Wait for and identify a pressed key
380 Downloads
Updated 16 Jul 2012

View License

The function GETK fulfills the similar tasks as its prototype, the function GETKEY. It waits for a keypress, stores the key identifier and a period of the waiting. Since the new function behaves differently from its origin, it has got another name. Appart from GETKEY, the function GETK comprises names of ascii characters and non-ascii keys into a single string. The function creates a modal figure window with a name 'PRESS A KEY' at a required place of the screen.

Cite As

Miroslav Balda (2024). GETK (https://www.mathworks.com/matlabcentral/fileexchange/37478-getk), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Argument Definitions in Help Center and MATLAB Answers
Acknowledgements

Inspired by: getkey

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Repaired description and complemented a screenshot

1.0.0.0