필터 지우기
필터 지우기

KbWait not working properly

조회 수: 1 (최근 30일)
Fed
Fed 2015년 3월 25일
댓글: Fed 2015년 3월 25일
Dear all I am using KbWait function, it seems it is not working properly, since nothing happen when I run my script, that is:
left = KbName('leftarrow');
right = KbName('rightarrow');
mW = figure(1);
image1 = imread('MYFIGURE.png');
[secs,keyCode] = KbWait; %waits for a key press
What's wrong with this script? Thank you!
  댓글 수: 2
Titus Edelhofer
Titus Edelhofer 2015년 3월 25일
Hi Fed,
KbName and KbWait are not functions provided by MathWorks, where did you get them from? The one who wrote these functions/scripts should be able to help ...
Titus
Fed
Fed 2015년 3월 25일
Dear Titus, These are functions provide by the Psychtoolbox. Maybe do you know another way to save the selection of a pressed button? 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