FAQ - Duplicate Offscreen Window
Q: How do you create a duplicate of an offscreen window?
A: You would first create an empty offscreen window of the same size and color depth as your original offscreen window, then copy the original windows content into the new window:
Be origWin the offscreen window you want to duplicate, then:
duplicateWin = Screen('OpenOffscreenWindow', origWin); Screen('CopyWindow', origWin, duplicateWin);
-> duplicateWin is a copy of origWin.