In Matlab, it is possible to have figure windows docked in the main window. If there are several figures, each of them appears in a different "tab".
Is it possible to set up the system so that all figure windows will be created docked by default?
To dock figures by default, try calling:
set(0,'DefaultFigureWindowStyle','docked')
at the beginning
The point 'n' click alternative:
Click Desktop
-> Figures
.
Click the arrow underneath the cross in the top-right (tooltip is 'Dock Figures').
Save your desktop layout with Desktop
-> Save Layout...
来源:https://stackoverflow.com/questions/6911176/have-matlab-figures-docked-by-default