How can I dock all images in matlab 2025a?

32 ビュー (過去 30 日間)
Javier Cuadros
Javier Cuadros 2025 年 7 月 29 日
回答済み: Supraja 2025 年 8 月 1 日
Hello,
I was wondering how can I dock all images in matlab r2025a. I have been reading about the newer feature where figures should be in a container that can be docked, but I still get some of the figures not being part of such a container. Since I am using matlab testing framework to run my simulations, in r2024b I used to have a function to dock all figures as shown below
function dockAllFigs(testCase)
if testCase.dockFigures
set(0,'DefaultFigureWindowStyle','docked'); % 'normal' to un-dock
end
end
Is there a way to enforce all figures in the container and to be docked ? Basically I am looking for not getting the figure pop-up each time a figure is created.
Thanks in advance,
Best regards

回答 (1 件)

Supraja
Supraja 2025 年 8 月 1 日
Hello Javier,
In MATLAB R2025a, you can use figure container for this purpose and use the dock controls option.
Please refer to the 'dock controls' section of this documentation for further reference: Figure - Figure window - MATLAB

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by