How to permanently undock all future generated figures R2025a
207 views (last 30 days)
Show older comments
I have just updated from 2021a to 2025a and I cannot seem to figure out how to make my figures that I generate stop from being always docked in the figures window. I want each figure, from now on and forevermore, to generate in a seperate window like they used to do.
Alternatively, is there is a way to control the Figures window (where they all dock) via code?
0 Comments
Accepted Answer
the cyclist
on 13 Jun 2025
Edited: the cyclist
on 13 Jun 2025
Put the line
set(groot, "defaultFigureWindowStyle", "normal");
in your startup.m file.
4 Comments
Timothy
on 11 Dec 2025 at 3:32
Moved: the cyclist
on 11 Dec 2025 at 12:25
I think this should be more widely documented, because the default behavior in R2025a (docked figures) can surprise longtime MATLAB users.
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!