MATLAB: Do I not see tabs in the MATLAB Editor in R2016a

editorfunctionMATLABmulti-tabscript

Why do I not see tabs in the MATLAB Editor in R2016a? In my older versions of MATLAB, I can see the name of my M-file as a tab in the editor. How come it does not appear that way in R2016a?

Best Answer

This is not version specific. This happens because by default MATLAB will use the single file editor when editing an M-file. The way to switch the default to the multi-file editor is to open up more than one M-file in MATLAB Editor windows and then press ctrl+shift+D in each of the editor windows (or in one of them navigate to the top right drop-down menu and select the "Dock All in Editor" option). This will doc the M-files into a single multi-file editor which can then be used either docked or undocked.