Hello, I'm running PTB on a macbook Pro (2012) laptop running OSX 10.12.6 with Matlab 2019a.
My external monitor is the Apple Retina Display. My issue is that I'm unable to display a window on the external monitor when 'rect' is supplied to the Screen command.
Screen('Screens') command Returns [0 1] as expected. Likewise depending on how I specify the screen to use for the experiment (i.e. expScreen = either 0 or 1), the Screen('Rect', expScreen ) gives me the appropriate dimensions of the screen depending on which one I specify.
The issue is when I try to open a widow.
Screen('OpenWindow', expScreen) opens the window on the appropriate monitor as expected. However, when the rect argument is supplied to the command, it no longer seems to work:
For example, to open a smaller widow (1/2 screen size), I use rect = .5*rect; However, Screen('OpenWindow', expScreen, [], rect) will ONLY open the widow on my laptop regardless of which monitor is specified in expScreen.
Any suggestions?