maxfig

Maximizes a MATLAB R14 figure in Windows environment.
2.9K Downloads
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.

AUGUST 2005 UPDATE.
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 (2024). maxfig (https://www.mathworks.com/matlabcentral/fileexchange/6913-maxfig), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers
Acknowledgements

Inspired by: api_showwindow

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Updated at MathWorks request.