MATLAB: GUI screen resolution auto-resize

guiguidemaximize figure windowscreen resolution

Is there a way to have a GUI in guide auto-adjust to fit current screen resolution, and/or can I hard-set the resolution of the interface at a specific value?

Best Answer

You can set the figure Units property to be Normalized, and set the Position property to be [0 0 1 1] if you want full screen. Or, if more appropriate, you can set the Units to Pixels or to 'cm' and use the appropriate values for Position.