Maximize window
No License
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://in.mathworks.com/matlabcentral/fileexchange/3812-maximize-window), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: subfig, Simulation of Random Walk
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | New feature - resize image to fill a portion of the screen |
