# changing the resolution of the screen

**URL:** <https://psychtoolbox.discourse.group/t/changing-the-resolution-of-the-screen/1840>\
**Category:** Uncategorized\
**Created:** [July 14, 2008, 2:39am UTC](https://psychtoolbox.discourse.group/t/changing-the-resolution-of-the-screen/1840 "2008-07-14T02:39:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [July 14, 2008, 2:39am UTC](https://psychtoolbox.discourse.group/t/changing-the-resolution-of-the-screen/1840/1 "2008-07-14T02:39:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xrli2002](https://avatars.discourse-cdn.com/v4/letter/x/48db29/32.png) [@xrli2002](https://psychtoolbox.discourse.group/u/xrli2002)\
**Post date:** [July 14, 2008, 5:22am UTC](https://psychtoolbox.discourse.group/t/changing-the-resolution-of-the-screen/1840/2 "2008-07-14T05:22:58Z")

</div>

Check this:  
  
Screen Resolution?  
  
Good luck!  
  
Xiangrui  
  

> --- In [psychtoolbox@yahoogroups.com](mailto: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  
> \>

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [July 15, 2008, 1:56am UTC](https://psychtoolbox.discourse.group/t/changing-the-resolution-of-the-screen/1840/3 "2008-07-15T01:56:54Z")

</div>

On Mon, Jul 14, 2008 at 3:23 PM, Xiangrui Li \<[xrli@...](mailto: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](mailto: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
