How to undock windows by deafult?
21 views (last 30 days)
Show older comments
Recently, I re-installed R2022b on my computer, but all windws are docked after I ran my scripts. They were always undocked previously. I couldn't find any options in Preference to change the setting. I talked with Chatgpt with the answer: set(0, 'DefaultFigureWindowStyle', 'normal'); But it only works inside a script, but not in other scripts. Any help is appreciated!
0 Comments
Accepted Answer
dpb
on 29 Jul 2025
Moved: Matt J
on 31 Jul 2025
Manually rearrange as you wish and then exit; it will reload as they were last set.
2 Comments
dpb
on 1 Aug 2025
Edited: dpb
on 1 Aug 2025
What, specifically, have you tried to rearrange and that isn't reproduced? I've never noticed any such behavior with R2021b and R2022b, but then again, I only keep the command window undocked and open; it will restore the editor session as it was if I exit with it open. I don't use any of the other windows normally, so there quite possibly is something in your selection I don't see...
I doubt Mathworks is going to make any changes in these versions other than serious computing bugs, particularly as they have now introduced the new UI so much of what was is no longer so such patches would be of little or no value to the new code base going forward.
See Also
Categories
Find more on Environment and Settings 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!