So here is my error message! maybe someone has encountred it!
(for the record, I am trying to run this line: [win1,winRect] = Screen(‘OpenOffscreenWindow’,-1,[128 128 128]); %-1 )
PTB-WARNING: Mismatch between measured monitor refresh intervals! This indicates problems with rasterbeam position queries.
----- ! PTB - WARNING: SYNCHRONIZATION TROUBLE ! -----
One or more internal checks (see Warnings above) indicate that
queries of rasterbeam position are not properly working for your setup.
Psychtoolbox will work around this by using a different timing algorithm,
but it will cause Screen(‘Flip’) to report less accurate/robust timestamps
for stimulus timing.
Read ‘help BeampositionQueries’ for more info and troubleshooting tips.
Error in function OpenOffscreenWindow: Usage error
Could not find any open onscreen window to act as parent for this offscreen window. Open an onscreen window first!
Error using Screen
Usage:
[windowPtr,rect]=Screen(‘OpenOffscreenWindow’,windowPtrOrScreenNumber [,color] [,rect] [,pixelSize] [,specialFlags]
[,multiSample]);
Error in MLDS_2AFC_TaskA (line 167)
[win1,winRect] = Screen(‘OpenOffscreenWindow’,-1,[128 128 128]); %-1