calculate and print the duration of keypress

3 views (last 30 days)
Maria K
Maria K on 23 Oct 2017
Answered: Robert U on 23 Oct 2017
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

Answers (1)

Robert U
Robert U on 23 Oct 2017
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

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!