Switch between stereoscopic and monoscopic viewing at runtime.

Hi everyone,

I have got a problem here. I want to show a movie stereoscopicly in some trials, and monoscopicly in others. After using

Screen('OpenWindow',..., stereomode = 9,...)

can I switch the openinng window to monoscopic viewing runtime?

I found a command as makeshift in follewing:

overlaywindow = SetAnaglyphStereoParameters('CreateMonoOverlay', win);

But it works like putting a monoscoptic curtain to the stereoscopic screen. The original screen still exists!

Is there any better idea I can switch the window mode between stereoscopic and monoscopic viewing?

Thanks!

asefv