Get screen size (dynamic)

Same as get( 0, 'ScreenSize' ), but dynamic
3,8K download
Aggiornato 1 set 2016

Visualizza la licenza

GETSCREENSIZE Same as get( 0, 'ScreenSize' ), but dynamic

SZ = GETSCREENSIZE returns a 1x4 vector of doubles giving the size of the display in pixels, in the same way as get( 0, 'ScreenSize' ), except it reads the current settings rather than reading a static copy made at MATLAB® startup time.
From "doc rootobject_props":

"Note that the ScreenSize property is static. Its values are read only at MATLAB startup and not updated if system display settings change."

Some applications place windows based on on the display resolution, and the resolution can change - mine does when I disconnect my laptop from my external monitor.

Cita come

Bill York (2024). Get screen size (dynamic) (https://www.mathworks.com/matlabcentral/fileexchange/10957-get-screen-size-dynamic), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2006a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Performance and Memory in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Get Monitor Dimensions

Community Treasure Hunt

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

Start Hunting!

getScreenSize/

Versione Pubblicato Note della release
1.0.0.1

Updated license

1.0.0.0