How to permanently undock all future generated figures R2025a

219 Ansichten (letzte 30 Tage)
Paul
Paul am 13 Jun. 2025
Kommentiert: Alpesh am 26 Sep. 2025
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?

Akzeptierte Antwort

the cyclist
the cyclist am 13 Jun. 2025
Bearbeitet: the cyclist am 13 Jun. 2025
Put the line
set(groot, "defaultFigureWindowStyle", "normal");
in your startup.m file.
  3 Kommentare
Walter Roberson
Walter Roberson am 13 Jun. 2025
There is no setting that you can just flip and it stays on.
Changing the 'default' settings for groot only last for the existing session, and are reset when you next start MATLAB.
MATLAB does not happen to control this particular facility by way of setpref() / getpref()
Alpesh
Alpesh am 26 Sep. 2025
Thank you so much, it worked well, I was hunting a lot about the same :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by