ShowWindow
SHOWWINDOW(NAME,STATE) changes the state of the window with a certain NAME to the specified STATE. STATE must be one of the following:
'hide', 'shownormal', 'normal', 'showminimized', 'showmaximized',
'maximize', 'shownoactivate', 'show', 'minimize', 'showminnoactive',
'showna', 'restore', 'showdefault', 'forceminimize',
'max'
Examples:
>> showwindow('MATLAB','minimize')
>> showwindow('','minimize')
>> figure(4); showwindow('Figure No. 4','maximize'); text(.5,.5,'Simoneau')
Cite As
Matthew Simoneau (2024). ShowWindow (https://www.mathworks.com/matlabcentral/fileexchange/3407-showwindow), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: closewindow
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.