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

6 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)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!