New Script keeps opening in new window instead of a tab

조회 수: 433 (최근 30일)
Hail
Hail 2014년 7월 31일
댓글: Jonathan 2025년 3월 6일
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
Sachin Motwani
Sachin Motwani 2020년 9월 24일
There can't be a simpler description of my problem. Never thought would find it here.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2014년 7월 31일
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.
  댓글 수: 72
Justin
Justin 2025년 2월 12일
A very quick way to fix this, if docking and moving windows around isn't working well for you is:
1) Click the Home tab
2) Click the down arrow under Layout, under the Environment section
3) Click the Default setting.
This will return all the window to their original position, with the script up top, the Command window at the bottom, Workspace(variables&values) to the right, and current folder to the left.
Also, greetings from February 2025!
Simon
Simon 2025년 2월 26일
I tried to do what you did but the script still doesn't appear on my window. Do I have to reinstall matlab ?

댓글을 달려면 로그인하십시오.

추가 답변 (3개)

Sylvain Cornelus
Sylvain Cornelus 2019년 3월 23일
편집: Sylvain Cornelus 2019년 3월 23일
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.
  댓글 수: 14
ASHUTOSH
ASHUTOSH 2024년 12월 22일
thanks!!
Jonathan
Jonathan 2025년 3월 6일
cmd + ctrl + D for mac

댓글을 달려면 로그인하십시오.


Avner Atias
Avner Atias 2018년 5월 1일
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.

Justin
Justin 2025년 2월 12일
A very quick way to fix this, if docking and moving windows around isn't working well for you is:
1) Click the Home tab
2) Click the down arrow under Layout, under the Environment section
3) Click the Default setting.
This will return all the window to their original position, with the script up top, the Command window at the bottom, Workspace(variables&values) to the right, and current folder to the left.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by