similarly like C language of 'getch' what is the alternate in MATLAB

3 views (last 30 days)
similarly like C language of 'getch' what is the alternate in MATLAB

Answers (1)

Jan
Jan on 3 Aug 2015
Edited: Jan on 3 Aug 2015
figure('WindowKeyPressFcn', @KeyPressCB)
function KeyPressCB(ObjectH, EventData)
disp(EventData.Key)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!