editor multiple tabs

156 次查看(过去 30 天)
maurizio
maurizio 2011-6-15
Hello everybody,
I am currently working with Matlab on two different machines. In one of these, all the opened m files are on different tabs in the same editor; in the other, every time I open a new m file, it shows up in a new editor. I would prefere much more the first option, but I can not find it in the preferences, and also the HELP does not help. Do you know where can I modify it?
thanks
  1 个评论
Jan
Jan 2011-6-15
Which Matlab version and OS are you using? How do you "open a new m file"? From the command window per "edit", from the editor or by a double click in the Windows Explorer?

请先登录,再进行评论。

采纳的回答

Michael Katz
Michael Katz 2011-6-17
Try docking the editors first. It's the south-east pointing arrow in the right of the menu bar. If Editor windows are undocked then new ones will open up undocked as well. You can dock together multiple Editors and then undock the whole group, so you could have the Editor in a separate window. It's a little tricky to set up, but once you do, new editors will open up in the (un)docked group.
  12 个评论
dpb
dpb 2023-7-5
I guess it works; but wasn't this complicated in the past it doesn't seem...although given the age of the post it seems to have been an issue for a long time.
Why isn't "Use Tabs" simply a user preference in Settings??????

请先登录,再进行评论。

更多回答(4 个)

Nnanyelugo Nwegbu
Nnanyelugo Nwegbu 2019-8-29
I had the same problem. I resolved it by
> Undocking the editor
> Clicked on View Tab
> Clicked on drop down menu > Tabs position
Set the position you like from [Top, Bottom, Left, Right]. Mine was previously on "hide", so the reason I had the problem in the first place
Dock the editor
  4 个评论
Alan Peters
Alan Peters 2022-10-6
There is no dropdown menu under the view tab.
Nusrat Zaman
Nusrat Zaman 2023-8-4
Thanks you so much!

请先登录,再进行评论。


juan pf
juan pf 2014-3-26
Hi
I am having the same problem in the 2012 version of Matlab and cannot dock all the mfiles together in one window. Do you have any idea how I do it?
Regards, Juan
  2 个评论
tayyebe sh
tayyebe sh 2015-7-16
salam , i had this problem . 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 :)
GiWon Hong
GiWon Hong 2017-7-7
thanks a lot.

请先登录,再进行评论。


Stefan Bleeck
Stefan Bleeck 2017-12-7
right click on the title of the m-file.

aref yel
aref yel 2021-9-12
1- docked all file and view on the debuger
2- righclick on the panel editor and select undock
3- you can see a new window including those file
hint: dock the editor in the debuger and undock editor

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by