MATLAB Programming/Psychtoolbox/Screen Commands/Rect

Usage:

rect=Screen(windowPtrOrScreenNumber,'Rect')

Get local rect of window or screen.