Antworten (1)

Walter Roberson
Walter Roberson am 12 Mär. 2020
Bearbeitet: Walter Roberson am 16 Nov. 2020

0 Stimmen

Depends what you mean and what you are willing to live with.
For regular keys and you are willing to have a figure covering the display then WindowKeyPressFcn callback and test the event structure.
If you need the check to work without a figure then see:
There might also be Java approaches.
The psychtoolbox functions are more complete and robust and better suited for timing.

Gefragt:

am 12 Mär. 2020

Bearbeitet:

am 16 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by