MATLAB Programming/Psychtoolbox/Screen Commands/PixelSize

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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.)