Usage:
[windowPtr,rect]=Screen('GetMATLABWindow',[n])
Get window pointer for n-th in MATLAB's Window menu.