Maximize window

Maximize window size to fill the entire screen. Has learning capability.

You are now following this Submission

Maximize the size of figures and GUIs to fill the entire screen.

The function was tested under the following conditions:
screen resolutions:
[800x600]
[1024x768]
[1152x864]
[1280x960]
Matlab version: R12, R13
OS: WinXP

The function was calibrated to handle WinXP standard toolbar (at the bottom of the screen, one icon row) and standard screen (4x3 ratio - not wide).

If you are using different settings, the maximized figure size could be wrong. If you find yourself in such a position, fear not. Run the function in 'calibrate' mode to calibrate the settings.

The application will ask you to maximize a figure window manually and use these settings as a reference from now on.

2005-03-21 update - contribution of Tim Myers
Maximize can set the image to fill any portion of the screen.

Cite As

Yuval Cohen (2026). Maximize window (https://au.mathworks.com/matlabcentral/fileexchange/3812-maximize-window), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: subfig, Simulation of Random Walk

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

New feature - resize image to fill a portion of the screen