Platform independent function to maximize a figure window.
Updated 18 Jul 2018

View License

This function maximizes MATLAB figures on any platform, and any version of MATLAB at least as far back as 7.0 (possibly further). It takes a figure handle as input. Note: it doesn't simply resize the figure to fill the screen.

Cite As

Oliver Woodford (2024). maximize (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with R14SP1 and later releases
Platform Compatibility
Windows macOS Linux
Find more on Call Web Services from MATLAB Using HTTP in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Adds support for R2018a's Java-less WindowState property

Suppress JavaFrame obsoletion message

Acknowledge findjobj.

Fix bug reported by Heinrich Acker (thanks!).

Removed dependency on jFindobj, using an idea based on comments by Yair Altman on the newsgroup.