image thumbnail

ShowWindow

version 1.0.0.1 (2.47 KB) by Matthew Simoneau
Change the state of a window, like minimize and maximize.

5.8K Downloads

Updated 01 Sep 2016

View License

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 (2021). ShowWindow (https://www.mathworks.com/matlabcentral/fileexchange/3407-showwindow), MATLAB Central File Exchange. Retrieved .

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

Inspired: closewindow

Community Treasure Hunt

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

Start Hunting!