MATLAB Programming/Psychtoolbox/Screen Commands/CopyWindows

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

Usage:

Screen('CopyWindow',srcWindowPtr,dstWindowPtr,[srcRect],[dstRect],[copyMode])

Copy images, very quickly, between two windows (on- or off- screen). copyMode can be only 'srcCopy' on Win. (default, will scale image to fit in dstRect). Use with Rush for reliable timing. See Rush.