add editor to te command window in matlab

hi,
then I run a script, the editor opens in a separate file, but I would prefer to see the editor with the script above the command window, how can I do that?

14 Kommentare

tayyebe sh
tayyebe sh am 16 Jul. 2015
salam , i had this problem in 2014. in first click on the little pointer in the upper right of the editor , then Click the little downward pointing triangle in a circle in the upper right of the window and select "Undoc" , then ctll+n and enjoy :)
Oluwaseyi Vincent
Oluwaseyi Vincent am 22 Sep. 2016
Hi,
In the menu bar for MATLAB, click on 'layout'. You get different options. It sounds like the 'default' option here is what you need. Hope this helps.
Walter Roberson
Walter Roberson am 4 Okt. 2016
Deepak Kuman comments to Oluwaseyi Vincent,
thanks yar
Walter Roberson
Walter Roberson am 11 Mai 2017
Swapnil Shubham comments to Oluwaseyi Vincent,
It helped
Sudhish Subramaniam
Sudhish Subramaniam am 15 Feb. 2019
Bearbeitet: per isakson am 27 Sep. 2019
thank you so much
Thierry Ntwari
Thierry Ntwari am 22 Mär. 2019
Thanks buddy!
Brandon Carson
Brandon Carson am 23 Aug. 2019
Bearbeitet: Brandon Carson am 23 Aug. 2019
6 years later, still helpful
Kartik Agrawal
Kartik Agrawal am 11 Nov. 2019
thanks dude
KUNTAL PATEL
KUNTAL PATEL am 7 Mär. 2020
Man this is so perfect. Thanks dude!!!!!
Burhan Ozdemir
Burhan Ozdemir am 1 Apr. 2020
thank you dude
Arturo Gonzalez
Arturo Gonzalez am 6 Mai 2020
God Job! Thank you dude
Suruchi
Suruchi am 13 Aug. 2022
Click on the upper right inverted triangle and choose "dock all in editor " it'll work for sure ; )
David Epstein
David Epstein am 2 Aug. 2023
Neither solution works on my Macbook Pro running os 12.6.7 with Matlab R2021a update 4
I used to have no trouble with command window docked in editor window. Now this seems unachievable. I'm not aware of any relevant changes in the meantime.
Mas Athirah
Mas Athirah am 22 Dez. 2023
For 2023 matlab, can refer to this link. https://www.youtube.com/watch?v=uTmtL413MtA
or
  1. open your editor.
  2. look at the right corner above toolstrip
  3. click on the mini arrow, the last one next to upside down triangle

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 12 Apr. 2013

37 Stimmen

Look towards the upper right of the editor window for a downward pointing triangle. Click on that and choose Undock Editor.
(This assumes you are running R2012b or later)

7 Kommentare

Locks
Locks am 12 Apr. 2013
thanks
Jaskirti Ghataure
Jaskirti Ghataure am 20 Nov. 2017
thanks alot!
Santos Tapia
Santos Tapia am 6 Mär. 2018

WALTER ROBERSON YOU ARE THE MAN THANK YOU!

Long Tran
Long Tran am 27 Sep. 2019
Thank, still work for 2019
thanks man
Eren YAYLACI
Eren YAYLACI am 1 Jan. 2021
eyvallah dayı
Daniel Garcia
Daniel Garcia am 2 Feb. 2021
Ou yeah! thx thx thx

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Channabasappa Konin
Channabasappa Konin am 29 Jul. 2016

32 Stimmen

Just press Ctrl+Shift+D in the editor window. This might help you.

19 Kommentare

Kenny Phu
Kenny Phu am 21 Jan. 2017
this worked perfectly, Thanks!!!!!!!!!
Thierry Ntwari
Thierry Ntwari am 22 Mär. 2019
Thanks buddy!
Cecilia Arellano
Cecilia Arellano am 13 Aug. 2019
Perfect, thanks!!
Adrián Moreno
Adrián Moreno am 16 Jan. 2020
<3
John Kim
John Kim am 25 Feb. 2020
yass
Ana Rita Melo
Ana Rita Melo am 27 Feb. 2020
thank you so much
Mathew Brauch
Mathew Brauch am 4 Mär. 2020
YESSSSSS
Merve Mutlu
Merve Mutlu am 29 Apr. 2020
yess thank you so muchh
Kübra Ergin
Kübra Ergin am 26 Mai 2020
thank youu so muchhh
yohannes tadesse
yohannes tadesse am 4 Jun. 2020
thanks
debanjan pathak
debanjan pathak am 28 Sep. 2020
thank you so much
Raghulvenkateswaran
Raghulvenkateswaran am 10 Nov. 2020
Bearbeitet: Raghulvenkateswaran am 10 Nov. 2020
Perfectly working.......
Thank you
SODABE BANDALI
SODABE BANDALI am 1 Dez. 2020
thank u
Camila Mamani
Camila Mamani am 7 Mär. 2021
Thank you!! i was trying for one hour with other metods
Thank you! Incredible solution!
Cao Tri Dinh
Cao Tri Dinh am 31 Mai 2022
Thank you for your help. It is very useful.
Gabriel
Gabriel am 18 Jan. 2023
thanks!
Crhistopher
Crhistopher am 3 Sep. 2025
thanks it works very well

Melden Sie sich an, um zu kommentieren.

nedim moglu
nedim moglu am 21 Aug. 2021

6 Stimmen

Home-->layout-->>>default is the best I think.
Ayz Jarwar
Ayz Jarwar am 12 Mai 2015

3 Stimmen

Look towards the upper right of the editor window for a downward pointing triangle. Click on that and choose Undock Editor.
(This assumes you are running R2012b or later)
THanks it is working.

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by