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

5 次查看(过去 30 天)
similarly like C language of 'getch' what is the alternate in MATLAB

回答(1 个)

Jan
Jan 2015-8-3
编辑:Jan 2015-8-3
figure('WindowKeyPressFcn', @KeyPressCB)
function KeyPressCB(ObjectH, EventData)
disp(EventData.Key)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by