错误使用 Screen
See error message printed above.
前言:由于Psychtoolbox安装之后,运行时出错。
工具
操作系统:win 10
编译软件:Matlab 2014a
工具包: Psychtoolbox-3
错误
解决
在错误提示上面有一段话:
----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! ----
One or more internal checks (see Warnings above) indicate that synchronization
of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.
This will seriously impair proper stimulus presentation and stimulus presentation timing!
Please read ‘help SyncTrouble’ for information about how to solve or work-around the problem.
You can force Psychtoolbox to continue, despite the severe problems, by adding the command
Screen('Preference', 'SkipSyncTests', 1)
; at the top of your script, if you really know what you are doing.
大致意思你在使用Screen
之前调用下该函数,方法如下: