Clear Filters
Clear Filters

R2014A, opens new script editor for every file

8 views (last 30 days)
Now that I've upgraded to R2014A, Matlab opens a new script editor window for every script I open. For all of the previous releases the default was one editor with tabs for each script. I can not find an option to change this back in R2014.
Any tips on where this option is hiding? Having 6 different script editors open is annoying as heck.
Image Analyst
Image Analyst on 12 May 2016
There is no "Undoc". To get a single, docked editor window with tabs for all the m-files you have open like Brian asked, tayyebe actually meant that you should select "Dock editor" (as I said in my Answer), not "Undoc".
Ctrl-n is not needed for docking. Ctrl-n brings up a brand new, empty editor window, if that's what you want to do, or you can do Ctrl-o to open an existing m-file into a new editor tab.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 13 Mar 2014
Click the little downward pointing triangle in a circle in the upper right of the window and select "Dock editor".
Philippe on 10 Oct 2014
Edited: Philippe on 10 Oct 2014
Thanks! Your awesome!
This happened to me after trying out a different text editor as a default for editing in MATLAB. When I switched back to the MATLAB Editor as default, it began opening each .m file into it's own window/instance. I too was using 2014A at the time.

Sign in to comment.

More Answers (2)

Nicholas on 7 Nov 2014
Is there a way to dock all the .m files in separate script editor window and not with the interface?

fromLondon on 18 Nov 2014
@Nicholas: Just grab the editor and pull it out of the main window.


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!