Azzera filtri
Azzera filtri

Screen Resolution

10 visualizzazioni (ultimi 30 giorni)
Yavuz kaya
Yavuz kaya il 7 Apr 2012
Hi all,
I have a problem using get(0,'screensize') command. I use Matlab 2010b on MAC.
My screen size is 2560x1440 pixel. I executed the get(0,'screensize') command and the result is a vector, [1 1 2560 1418].
Then I changed the screen resolution to 800x600, and executed the same command, get(0,'screensize'). The result is a vector of [1 -839 2560 1418] instead of [1 1 800 600].
Apparently there is something weird with get(0,'screensize') command. Does anybody has an explanation to this?
Thanks in advance. Yavuz
  1 Commento
Walter Roberson
Walter Roberson il 7 Apr 2012
To check: you exited MATLAB before changing the screen size?

Accedi per commentare.

Risposte (1)

Daniel Shub
Daniel Shub il 7 Apr 2012
You may be better off with
get(0, 'MonitorPositions');
Then again, MATLAB has difficulties getting the monitor and screen sizes.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by