closefigures and docking tools

Version (3.29 KB) by Darin
Clear figures window so next figure will draw in 1st (upper left tile), + docking control
Updated 26 Jul 2015

View License

Users often wish to draw figures IN A SPECIFIC ORDER into the figures window tiles... but have no programmatic control over where it starts. The first figure goes into the last tile whether programmatically selected, or clicked on even if empty! clearfigures.m clears the figures window and leaves the focus in the upper left tile. fig_dock and fig_undock control docking for individual figures and defaults. (also tested on 2013b)

Cite As

Darin (2024). closefigures and docking tools (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Fixed typo in description