image thumbnail

Maximize window

version 1.0.0.0 (1.59 KB) by Yuval Cohen
Maximize window size to fill the entire screen. Has learning capability.

8.4K Downloads

Updated 22 Mar 2005

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 (2021). Maximize window (https://www.mathworks.com/matlabcentral/fileexchange/3812-maximize-window), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: subfig, Simulation of Random Walk

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!