getDisplayProperties
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.
Citation pour cette source
Alain Barraud (2025). getDisplayProperties (https://www.mathworks.com/matlabcentral/fileexchange/72748-getdisplayproperties), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.10 | *m file added |
||
1.1 | documentation now is done through publish and html file has been added. Use your web browser to look at the file and/or use >>doc getDisplayProperties at the command prompt. |
||
1.0.0 |