Is there any way to get the screen size in pixels for a secondary monitor using Matlab? get(0,'ScreenSize') seems to only recognize the screen on the main monitor.
PPI and Screen Size Picture this – you have two monitors side by side, both with a Full HD 1080p Full HD resolution. This means that both have 1,920 horizontal pixels and 1,080 vertical pixels.
Try using get(0,'MonitorPositions') instead. It returns the width and height of primary and secondary monitors, in pixels.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With