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 Comments

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 :)
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.
Deepak Kuman comments to Oluwaseyi Vincent,
thanks yar
Swapnil Shubham comments to Oluwaseyi Vincent,
It helped
thank you so much
6 years later, still helpful
Man this is so perfect. Thanks dude!!!!!
God Job! Thank you dude
Click on the upper right inverted triangle and choose "dock all in editor " it'll work for sure ; )
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.
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

Sign in to comment.

 Accepted Answer

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 Comments

WALTER ROBERSON YOU ARE THE MAN THANK YOU!

Thank, still work for 2019
Ou yeah! thx thx thx

Sign in to comment.

More Answers (3)

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

19 Comments

this worked perfectly, Thanks!!!!!!!!!
thank you so much
yess thank you so muchh
thank youu so muchhh
Perfectly working.......
Thank you!! i was trying for one hour with other metods
Thank you! Incredible solution!
Thank you for your help. It is very useful.
thanks it works very well

Sign in to comment.

Home-->layout-->>>default is the best I think.
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.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!