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.
引用格式
Alain Barraud (2025). getDisplayProperties (https://www.mathworks.com/matlabcentral/fileexchange/72748-getdisplayproperties), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019b
兼容 R2014b 到 R2019b 的版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Structures 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!