Dockfig/Undockfig
Version 1.2.0.1 (1.99 KB) by
Brett Shoelson
Programmatically dock or undock one or all open figures.
dockfig(FIG)
Docks figure with handle FIG, and brings it to the front.
dockfig('all')
Docks all open figures
undockfig(FIG)
Undocks figure with handle FIG, and brings it to the front.
undockfig('all')
Undocks all open figures
Cite As
Brett Shoelson (2025). Dockfig/Undockfig (https://www.mathworks.com/matlabcentral/fileexchange/18194-dockfig-undockfig), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers
Tags
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.