Screen(‘Windows’)

Psychtoolbox>Screen.{mex*} subfunction

Return a vector of windowPtrs, including on- and off-screen windows.
n=length(Screen(‘Windows’)) is a handy way to count them.

###See also: