MATLAB Programming/Psychtoolbox/Windows only scripts

The windows version does not support changing screen resolution with the Screen("Open Window",... command. You can use a 3rd party program to do this though: [1]. Then in Matlab you can write code like this:

!reschange -width=800 -height=600 -depth=32 -refresh=85