필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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 CenterFile Exchange에서 Timing 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