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>).
Mihai Moldovan (2021). maxfig (https://www.mathworks.com/matlabcentral/fileexchange/6913-maxfig), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: api_showwindow
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!