MATLAB: Command Windows and editor in the same page

commandwindoweditorscript

I was working and I don't know what I did but now the page of command windows and the page with the functions are separate. If I open a new script, a new windows open, not in the same place as it always was. Have you any suggestion?

Best Answer

From the description you've undocked the Editor from the Desktop. As the next-to-last row in the first table on this documentation page states, click the downward pointing triangle on the upper right of the Editor panel and select Dock.
Related Question