File Exchange

image thumbnail


version 1.10 (4.13 KB) by Alain Barraud
a function to determine the main display properties


Updated 26 Sep 2019

View License

Today screen resolution may vary from the "standard" 96 dpi to much larger values (>300).
Frequently users have to specify some scaling option at the os level in order to avoid too small characters on screen. In order to run safely java swing customisation (for example) it is necessary to take into account such scaling at run time. This small code answers this question and give some other useful display properties.

Cite As

Alain Barraud (2021). getDisplayProperties (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2014b to R2019b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!