MATLAB Answers

New Script keeps opening in new window instead of a tab

조회 수: 1,564(최근 30일)
Hail
Hail 2014년 7월 31일
답변: Jayesh Talole 2021년 6월 13일 4:37
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.
  댓글 수: 41
Wellington Corrêa
Wellington Corrêa 2021년 6월 7일 15:23
Thank you very much!!!

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

추가 답변(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.
  댓글 수: 6
Sachin Motwani
Sachin Motwani 2020년 9월 24일
@Michael Magid: I almost lost hope. You kept me binding.

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


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.
  댓글 수: 2

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


Jayesh Talole
Jayesh Talole 2021년 6월 13일 4:37
이 답변에 1명의 참여자가 플래그를 지정함
clc
clear all
close all
f=10
n=3
t=0:0.1:10
q=f/(2^n-1)
y=abs(5*sin(t))
x0=fix(y/q)
y0=dec2bin(x0,n)
y1=x0*q
plot(t,y,'r')
hold on
plot(t,y1,'b')
hold off

제품

Community Treasure Hunt

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

Start Hunting!

Translated by