Multiple tabbed editor windows

90 views (last 30 days)
I believe this functionality existed in previous versions (2015b currently), but I cannot for the life of me figure out how to have 2+ editor windows both of which have multiple tabs. This would make certain tasks much easier. For example, I have two different code sets I am working on, both with multiple components with similar names. It would be nice to split those into two different windows to avoid confusion.
  1 Comment
Roberto Osorio
Roberto Osorio on 19 Jul 2017
I second this request for multiple tabbed editor windows. This could be implemented, for instance, using a Projects design (each project opening by default in a separate window with tabs for the project files). The only way I can accomplish this now is by (clumsily) opening a new Matlab session just for editing a separate project.

Sign in to comment.

Accepted Answer

Adithya Addanki
Adithya Addanki on 31 Mar 2016
Hi Daniel,
In my understanding you are trying to open multiple files (tabbed in multiple editor windows).
I was not able to get two different undocked windows with multiple tabs from MATLAB R2015b back until R2012b. Only the primary window has tabs and rest of the files open up in a separate new window(and not tabbed on the parent).
However, I have noticed that we would be able to open multiple editor tabs when the view is set to "Left/Right" mode(or any other mode than "Single"). You may undock the whole "Editor" pane from MATLAB to another window as well. Please refer to the screenshot.
I hope this helps.
Thank you,
Adithya
  1 Comment
D. Plotnick
D. Plotnick on 31 Mar 2016
Thank you for your response, This is currently how I run my matlab editor screen. However, for larger and more complex codes I tend to use the multi-panel mode for a single project; e.g. model, view, controller on a "Left/Center/Right" panel, which makes coding much easier.
The issue is if I want multiple projects accessible simultaneously, it would be MUCH easier to have these split into different windows. This would also be especially useful for people using tutorials to build a new type of code for the first time.
Alternatively, is there a way to save a layout, e.g. I want .m files A, B, C, and D to all open at the same time in the editor and be arranged in a specific manner? If that was the case I would not feel so resistant to entirely closing the project I am not actively working on.
I understand these may not be current capabilities within Matlab, if so take them as friendly suggestions.

Sign in to comment.

More Answers (4)

Andrew Shi
Andrew Shi on 4 Sep 2020
Just want to chime in and say this feature would be helpful. Is anyone aware of any updates?

Joh Hag
Joh Hag on 7 Aug 2018
Count me also in. Multiple tabbed editors and projects would be awesome.

Md Reza
Md Reza on 13 Feb 2019
Edited: Md Reza on 13 Feb 2019
I second this request. It's really cumbersome to work on a single editor for multiple projects.
I found a hack to get multiple editors which will allow for more than two (eg, left/right or top/bottom) separate projects. Use the 'Custom' option from the 'View' menu and create as many table entries as you need. See the attached example to get an idea:
Screen Shot 2019-02-13 at 5.29.07 AM.png

Dennis Van Dusen
Dennis Van Dusen on 17 Oct 2017
I second this request. It is actually non-sensical to have the current 'single' undocked window rather than multiple undocked 'editor tabsets'. This is because the 'single' does not have the 'HOME' Top Tool Tab and toolbar. The actual effect is that you can not EVER get to those toolbar functions for that file -- especially what you might want for Variables. (It might actually be that the variables tools are not considered to be for a specific .m, but that is a slightly different issue. Why, for instance, is there no way to click on a variable in code and see it pop up in the workspace? That makes me think that 'variables' are always thought of as more like files rather than 'properties', etc.)
D

Categories

Find more on Desktop 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!