return the keyboard/mouse button code over figure. in matlab

The following Matlab project contains the source code and Matlab examples used for return the keyboard/mouse button code over figure. . ch = MGetKey(hFig) waits for keyboard/mouse button event over the specified figure handle (hFig) and returns the ascii code of the keyboard key or -1 if a mouse button was pressed (ch).

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1314
MGetKey.m 799

SocialTags: 

Technology: