KbCheckに同時に2つのキーコードが記録されることについて
Show older comments
MATLABでスペースを押した時間までを測定するのに、[keyIsDown,secs,keyCode]=KbCheck; というコードを使ったところ、keycodeにはスペースのキーコード32以外に25というキーコードが同時に記録されてしまいます。何が原因なのかわからないのですが、ご教授いただければ助かります。
Accepted Answer
More Answers (2)
Tohru Kikawada
on 13 Jun 2018
1 vote
Psychtoolboxに含まれている関数のようです。詳細は分からないですが下記の内容が参考になるかもしれません。 https://sites.google.com/site/ptbganba/ptbno-komando-no-setsumei/ru-chu-li-guan-xi/kbcheck
Mitsuru Noda
on 14 Jun 2018
0 votes
Categories
Find more on Timing and presenting 2D and 3D stimuli 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!