You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). getDisplayProperties (https://www.mathworks.com/matlabcentral/fileexchange/72748-getdisplayproperties), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.10 (4.13 KB)
MATLAB Release Compatibility
- Compatible with R2014b to R2019b
Platform Compatibility
- Windows
- macOS
- Linux
