MATLAB Programming/Psychtoolbox/Screen Commands/WindowKind

From Wikibooks, open books for an open world
< MATLAB Programming‎ | Psychtoolbox‎ | Screen Commands
Jump to: navigation, 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.