How do i get the editor window to open above the command window and not in a new separate one?

 Accepted Answer

13 Comments

I think this does not answer Jenniefer Bylin's question. The question was how to open the editor window above the command window. The video here shows how to do that- https://www.youtube.com/watch?v=P7DYBcGoRBU
If you are trying to consolidate all of the separate m file windows into one window with separate tabs in it, this is your answer. There is a down arrow on the upper right-hand corner, and if one clicks "Dock all in Editor," all of the m files that are open will become one with the editor window with separate tabs for each m file. This is true on the Mac version, anyway. I attached step 1 and step 2 screenshots to do this.
yes! Pressing dock all in put the ditor back in the same window thank you!
thanks you so much how many time i wasted on it how i can correct it but you solved my problem thankssssssssssssss again
I worked in MATLAB for 2 years and I still need to read this comment lol

Sign in to comment.

More Answers (5)

Two steps will solve that issue: 1) "dock" all open but undocked windows by clicking on the small triangle at the top right corner of each wimdow, then 2) follow: Home > Layout > Default.

18 Comments

Thanks very much ... I was being inconvenienced by the separate windows.
1) "dock" all open but undocked windows by clicking on the small triangle at the top right corner of each wimdow, then 2) follow: Home > Layout > Default.

Sign in to comment.

Just dock it and it should stay docked next time you open Matlab. There's a downwards arrow menu in the top right of the editor with a 'Dock Editor' option.
In the top right hand corner of the editor screen there should be a drop-down menu. Select the option to dock the script. That should pin your editor back to being above the command window.
There should also be an option from the downward arrow to "restore" the editor if you want it to remain open when typing in the command window. That's what I use so that I can see both at once! I think docking only leaves it there until you start typing in the command window and then it minimizes automatically.
How can I do this in matlab 2012a?

1 Comment

Redock the editor window. You should have an option similar to what is shown here.
You might also try using predefined layouts if they are available in the Home tab.

Sign in to comment.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!