MATLAB Answers

James
2

What setting do I change so that all files opened in the editor are accessed by a single tabbed matlab editor window?

Asked by James
on 25 Oct 2012
Latest activity Answered by Pavel Osipov on 19 Dec 2018
Presently, each file that I open for editing is assigned to its own window. I would like to have all open files be associated with a single, tabbed window. I am unable to find a setting that affects this. R12b.

  0 Comments

Sign in to comment.

2 Answers

Answer by Evan
on 25 Oct 2012
Edited by Evan
on 25 Oct 2012
 Accepted Answer

As far as I know, there is no setting that allows this view option to be explicitly specified.
However, MATLAB remembers your "last-used" preference, so in order to set the editor to always dock files in the tabbed format to which you refer, simply do the following:
1. Click the "dock" arrow in the upper hand corner of a single file. This will cause the file to be docked in the main MATLAB window.
2. Click the uppermost "undock" arrow in the editor tab (which is now in the main MATLAB window) to move the editor to its own window.
3. Open any other file. It will now be docked in the (now separate) editor window in the tabbed format you're wanting.
If you close the editor after doing this, your preference will be remembered the next time you open the editor.

  2 Comments

Yep, that's what I used as well. No end of frustrating.
This is still true to this day as I'm using R2016b. There is no way to explicitly request new files to be in new tabs rather than new windows unless you do this procedure. Thanks for posting your answer!

Sign in to comment.


Answer by Pavel Osipov on 19 Dec 2018

Thank you dear Ivan, everything was fine. In P 18b already has a button " Collapse all open files in the editor window." Hello everyone, happy New Year and good luck! Pavel.

  0 Comments

Sign in to comment.