MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   获取辅助显示器的屏幕尺寸(以像素为单位) (https://www.labfans.com/bbs/showthread.php?t=26513)

poster 2019-12-14 20:13

获取辅助显示器的屏幕尺寸(以像素为单位)
 
有没有办法使用Matlab来获取辅助显示器的屏幕大小(以像素为单位)? get(0,'ScreenSize')似乎只能识别主监视器上的屏幕。



[B]回答:[/B]

尝试改用get(0,' [URL="http://www.mathworks.com/help/techdoc/ref/rootobject_props.html"]MonitorPositions[/URL] ')。它以像素为单位返回主显示器和辅助显示器的宽度和高度。



[url=https://stackoverflow.com/questions/5216163]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 12:46

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.