File Exchange

image thumbnail


version (12.9 KB) by Mihai Moldovan
Maximizes a MATLAB R14 figure in Windows environment.

1 Download

Updated 22 Aug 2005

No License

When building a complex GUI it is a common requirement to build a fullscreen interface. To preserve compatibility of GUIs between different OS, MATLAB is not natively aware of Windows specific desktop elements. Using the new docked figures may not be the right solution when the GUI is targeting MATLAB inexperienced users.

Accurate figure maximization can only be achieved by interaction with Windows User32.dll APIs. Due to the large number of requests I received to update my <api_showwindow> to work in R14 environment, I hereby submit a new function for maximization of MATLAB figures. This is not just an update but also adds options to ignore the Windows TaskBar.

Test function and complete mex C-code are included.

With SP2, the figure frame class has been changed in MATLAB R14. Due to the large number of emails I received I decided to post this quickfix of maxfig (formely known as <maxfig 2>).

Cite As

Mihai Moldovan (2020). maxfig (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

it should be a great tool, but seems no longer working with Matlab 2009 under windows XP sp3...

anybody knows something about this?

Konstantin Miller


Mike Hibbard

great, thanks!

Miki Nikolic

Great program! This is something Mathworks should have made long time ago.


Updated at MathWorks request.

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

Inspired by: api_showwindow