How to permanently undock all future generated figures R2025a

조회 수: 235 (최근 30일)
Paul
Paul 2025년 6월 13일
댓글: Alpesh 2025년 9월 26일 7:07
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?

채택된 답변

the cyclist
the cyclist 2025년 6월 13일
편집: the cyclist 2025년 6월 13일
Put the line
set(groot, "defaultFigureWindowStyle", "normal");
in your startup.m file.
  댓글 수: 3
Walter Roberson
Walter Roberson 2025년 6월 13일
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 2025년 9월 26일 7:07
Thank you so much, it worked well, I was hunting a lot about the same :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by