MATLAB Programming/Psychtoolbox/Screen Commands/PixelSize

Usage:

[oldPixelSize,oldIsColor,pages]=Screen(windowPtrOrScreenNumber,'PixelSize',[pixelSize],[isColor])

Get/set screen depth, gray/color mode, and number of video pages. (We don't yet provide a way of changing the page.)