calculate and print the duration of keypress

3 次查看(过去 30 天)
Hello! Does anyone know how I can get the duration(in secs) for which a key is being pressed down in my keyboard and it's name? Thanks on advance,
Maria

回答(1 个)

Robert U
Robert U 2017-10-23
Hi Maria K,
have a look into the file exchange: getkey
Even it might be not as accurate as you need it.
Kind regards,
Robert

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by