Permanently Unodock Command Window Matlab 2025b
Show older comments
I would like to start my Matlab 2025b with the command window undocked by default.
This is possible for the editor but not for the command wiindow.
Can I configure this?
There is a command that I can use to do so programmatically?
6 Comments
Dyuman Joshi
on 13 Nov 2025
Moved: Dyuman Joshi
on 15 Nov 2025
This should work (though I haven't tried this on R2025b, since I don't have it) :-
1) Undock command window (Ctrl+Shift+U has worked for me)
2) Save your layout (Home -> Environment -> Layout)
3) Make the saved layout your default layout.
Pierluigi
on 13 Nov 2025
Moved: Dyuman Joshi
on 15 Nov 2025
Dyuman Joshi
on 13 Nov 2025
Moved: Dyuman Joshi
on 15 Nov 2025
"Anyway, this in 2025b requires me everytime I start Matlab to apply a saved layout."
If you change to the default layout?
"It would be good if I can have this automatically run in my startup.m."
I doubt whether one can achieve the same programmatically.
In R2025a, when you opened a new MATLAB session, it opened with the layout that was there when you ended the previous session.
"When you end a session, MATLAB saves the current desktop layout. The next time you start MATLAB, the desktop appears as you left it."
The same isn't documented for R2025b.
Pierluigi
on 13 Nov 2025
Moved: Dyuman Joshi
on 15 Nov 2025
Dyuman Joshi
on 15 Nov 2025
"Meybe this i spossible but I cannot find it in the documentation."
This hasn't been done in versions upto and including R2025a.
"The same isn't documented for R2025b."
I stand corrected, it seems I mis-read. That documentation states the changes from R2025a onwards.
So you should be able to do that. If you can't, maybe you should contact support - Contact Support
Pierluigi
on 16 Nov 2025
Answers (0)
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!