I used [win,rect]= PsychImaging(‘OpenWindow’, 0, 0.5, scrsize) to open the window and drawdots after that. I have two monitors and used “extended monitor” mode. I would like to display the stimuli only one the second monitor as I want to control the Matlab on the first monitor.
I tried [win,rect]= PsychImaging(‘OpenWindow’, 2, 0.5, scrsize) and it had error.
Please suggest which parameters I can change so that stimuli can only be displayed on the second monitor.
I connected the second monitor first and then ran the psychtoolbox.
Edited: [win,rect]= PsychImaging(‘OpenWindow’, 2, 0.5, scrsize) doesn’t give me error somehow anymore. The stimuli was displayed only one the main screen which matlab is running, not on the second screen no matter what value I put 0, 1 or 2.