MATLAB: In Matlab 2020a, how to keep the editor tab in the same window

command windoweditorview

Is there a setting to prevent the editor tab from opening in a new window when I click on a script? I would prefer it to sit above the command window frame as in previous versions. Seems as if I'm missing something obvious here.

Best Answer

This is called 'docking' and can be fixed by clicking on the icon below the X in the upper right hand corner of the window - a small circle with a downward-pointing triangle. Next, select, the bottom option, 'Dock All in Editor'.