This simple example assists you to understand how to get the keyboard information as well as mouse events.
Fu-Sung Wang (2021). Get Keyboard Information (https://www.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. Retrieved .
The dll is working great on a school computer running 2008a, when I take it to another computer running 2008b it cannot find it. This is the same code running from the same jump drive, does anyone have suggestions?
thank you.I think it is useful.
Excellent. Nice to be able to check for user input without implementing a full-blown gui.
Great job Fu-Sung Wang!!
Your code is pretty useful for me.
I've spent a lot of time looking for a function similar to "KBHit" for Matlab.
Very useful routine, partly running also on previous Matlab versions.
Inspired: An Interactive Game Program
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!