View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 2.81 KB File ID: #37478 Version: 1.1
image thumbnail



Miroslav Balda (view profile)


13 Jul 2012 (Updated )

Wait for and identify a pressed key

| Watch this File

File Information

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.


Getkey inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
16 Jul 2012 1.1

Repaired description and complemented a screenshot

Contact us