阅读背景:

MATLAB:暂停程序并等待按键

来源:互联网 

I am writing a program in which at some point a graph is plotted and displayed on screen. The user then needs to press 'y' or 'n' to accept or reject the graph. My current solution uses the PsychToolbox (the actual solution doesn't need to), which includes a command called 'KbCheck' which checks at the time of calling the state of all the keyboard buttons. My code looks like this:I am writing a program in which at some point a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: