changing the resolution of the screen

Hi
I display stimuli on the second screen of a system and I want to
change the resolution of this screen from matlab/psychtoolbox.

I know this can be done via the operating system controls, but that's
not what I want.
basically I am looking for something like

[winPtr rect]= Screen(2, 'OpenWindow');


Screen(winPtr,'ChangeResolution',[1024 768]);

or maybe Screen (winPtr, 'Preference','Resolution',[1024 768])

or a parameter added to the 'OpenWindow' command, or something one has
to call before the 'OpenWindow' command.
Is there a way to do that?
Cheers
M.




--
Mark M. Schira, Ph.D.
School of Psychology
University of New South Wales
Sydney 2052

office:+ 61 (0) 2 9385 8849
home:+ 61 (0) 2 8084 3656
mobile: +61 (0) 4059 54853
Check this:

Screen Resolution?

Good luck!

Xiangrui

--- In psychtoolbox@yahoogroups.com, "Mark Schira" <mark@...> wrote:
>
> Hi
> I display stimuli on the second screen of a system and I want to
> change the resolution of this screen from matlab/psychtoolbox.
>
> I know this can be done via the operating system controls, but
that's
> not what I want.
> basically I am looking for something like
>
> [winPtr rect]= Screen(2, 'OpenWindow');
>
>
> Screen(winPtr,'ChangeResolution',[1024 768]);
>
> or maybe Screen (winPtr, 'Preference','Resolution',[1024 768])
>
> or a parameter added to the 'OpenWindow' command, or something one
has
> to call before the 'OpenWindow' command.
> Is there a way to do that?
> Cheers
> M.
>
>
>
>
> --
> Mark M. Schira, Ph.D.
> School of Psychology
> University of New South Wales
> Sydney 2052
>
> office:+ 61 (0) 2 9385 8849
> home:+ 61 (0) 2 8084 3656
> mobile: +61 (0) 4059 54853
>
On Mon, Jul 14, 2008 at 3:23 PM, Xiangrui Li <xrli@...> wrote:
> Check this:
>
> Screen Resolution?
>
> Good luck!
>
> Xiangrui
Am I supposed to understand this? Sorry but I don't.
M.



> --- In psychtoolbox@yahoogroups.com, "Mark Schira" <mark@...> wrote:
>>
>> Hi
>> I display stimuli on the second screen of a system and I want to
>> change the resolution of this screen from matlab/psychtoolbox.
>>
>> I know this can be done via the operating system controls, but
> that's
>> not what I want.
>> basically I am looking for something like
>>
>> [winPtr rect]= Screen(2, 'OpenWindow');
>>
>>
>> Screen(winPtr,'ChangeResolution',[1024 768]);
>>
>> or maybe Screen (winPtr, 'Preference','Resolution',[1024 768])
>>
>> or a parameter added to the 'OpenWindow' command, or something one
> has
>> to call before the 'OpenWindow' command.
>> Is there a way to do that?
>> Cheers
>> M.
>>
>>
>>
>>
>> --
>> Mark M. Schira, Ph.D.
>> School of Psychology
>> University of New South Wales
>> Sydney 2052
>>
>> office:+ 61 (0) 2 9385 8849
>> home:+ 61 (0) 2 8084 3656
>> mobile: +61 (0) 4059 54853
>>
>
>



--
Mark M. Schira, Ph.D.
School of Psychology
University of New South Wales
Sydney 2052

office:+ 61 (0) 2 9385 8849
home:+ 61 (0) 2 8084 3656
mobile: +61 (0) 4059 54853