How can I set KbWait to wait 5 seconds for an input, and if none, move on in Psychtoolbox?

1 回表示 (過去 30 日間)
Chelsea
Chelsea 2014 年 12 月 9 日
Hi,
I'm trying to use KbWait in an experiment. The subject must make a key press within 5 seconds, or the experiment will move on. I obviously tried KbWait(5), but that does not work. Should I create some sort of an if statement with the time?
Thanks!

回答 (0 件)

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by