New Script keeps opening in new window instead of a tab

1.877 Ansichten (letzte 30 Tage)
Hail
Hail am 31 Jul. 2014
Kommentiert: Star Strider am 11 Mär. 2024
So, stupid question. I accidentally did something on my script file and now when I hit new script, it opens a new script in a new window instead of a new tab. Can someone tell me what I did and how to reverse it.
Thanks
  1 Kommentar
Sachin Motwani
Sachin Motwani am 24 Sep. 2020
There can't be a simpler description of my problem. Never thought would find it here.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 31 Jul. 2014
The only thing I can think of is to go to the small downward-pointing arrowhead in a circle in the upper right of the Editor’s toolstrip (the tooltip for it is ‘Show Editor Actions’, click on it, click on ‘Dock Editor’ and see if that works. According to the menu, CTRL+D might have the same effect.
  59 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Sylvain Cornelus
Sylvain Cornelus am 23 Mär. 2019
Bearbeitet: Sylvain Cornelus am 23 Mär. 2019
Just to add to Star Strider's repsonse:
In case people are having trouble finding it, look for the very top right blue bar, grey circle and down arrow, "Dock filename.m"
CTRL+SHIFT+D was the default command for me in R2018b.
  12 Kommentare

Melden Sie sich an, um zu kommentieren.


Avner Atias
Avner Atias am 1 Mai 2018
The above answers works just fine. Another thing though, if you want the editor to be in a separate window and tab for each function, you can drag it OUT of docking in the MATLAB workspace window.

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by