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 commentaires

tayyebe sh
tayyebe sh le 16 Juil 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 le 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 le 4 Oct 2016
Deepak Kuman comments to Oluwaseyi Vincent,
thanks yar
Walter Roberson
Walter Roberson le 11 Mai 2017
Swapnil Shubham comments to Oluwaseyi Vincent,
It helped
Sudhish Subramaniam
Sudhish Subramaniam le 15 Fév 2019
Modifié(e) : per isakson le 27 Sep 2019
thank you so much
Thierry Ntwari
Thierry Ntwari le 22 Mar 2019
Thanks buddy!
Brandon Carson
Brandon Carson le 23 Août 2019
Modifié(e) : Brandon Carson le 23 Août 2019
6 years later, still helpful
Kartik Agrawal
Kartik Agrawal le 11 Nov 2019
thanks dude
KUNTAL PATEL
KUNTAL PATEL le 7 Mar 2020
Man this is so perfect. Thanks dude!!!!!
Burhan Ozdemir
Burhan Ozdemir le 1 Avr 2020
thank you dude
Arturo Gonzalez
Arturo Gonzalez le 6 Mai 2020
God Job! Thank you dude
Suruchi
Suruchi le 13 Août 2022
Click on the upper right inverted triangle and choose "dock all in editor " it'll work for sure ; )
David Epstein
David Epstein le 2 Août 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 le 22 Déc 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

Connectez-vous pour commenter.

 Réponse acceptée

Walter Roberson
Walter Roberson le 12 Avr 2013

37 votes

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 commentaires

Locks
Locks le 12 Avr 2013
thanks
Jaskirti Ghataure
Jaskirti Ghataure le 20 Nov 2017
thanks alot!
Santos Tapia
Santos Tapia le 6 Mar 2018

WALTER ROBERSON YOU ARE THE MAN THANK YOU!

Long Tran
Long Tran le 27 Sep 2019
Thank, still work for 2019
thanks man
Eren YAYLACI
Eren YAYLACI le 1 Jan 2021
eyvallah dayı
Daniel Garcia
Daniel Garcia le 2 Fév 2021
Ou yeah! thx thx thx

Connectez-vous pour commenter.

Plus de réponses (3)

Channabasappa Konin
Channabasappa Konin le 29 Juil 2016

32 votes

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

19 commentaires

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

Connectez-vous pour commenter.

nedim moglu
nedim moglu le 21 Août 2021

6 votes

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

3 votes

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.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by