Hi, so I have a GUI that I mainly work on at the internship I have, where I use a 1920×1080 resolution monitor. I verified that Matlab was using this same resolution by doing the get(0,'screensize') command. However, I went to work on it at home on my laptop, which is also 1920×1080 resolution, and the layout for the GUI is all messed up. Furthemore, when I did get(0,'screensize'), it says the resolution is 1280×720 even though I'm positive my laptop's screen is 1920×1080 resolution. How do I fix this so that my GUI works on both my laptop and the monitor I work on? Is there some command I can do on my laptop where I can change the Matlab resolution to 1920×1080? Does it have something to do with the fact that my laptops screen is physically smaller than the monitor screen (13'' vs roughly 24'')?
MATLAB: Consistent GUI screen sizing on laptop and monitor
guiscreen resolution
Best Answer