MATLAB Programming/Psychtoolbox/Screen Commands/WindowKind

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

Usage:

kind=Screen(windowPtr,'WindowKind')

Returns the type of windowPtr: 0 if it's invalid, -1 for offscreen, 1 for onscreen, 2 MATLAB's onscreen.