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일

38 개 추천

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

maurizio
maurizio 2011년 6월 17일
it works.
Thanks a lot,
Maurizio
Andri M. Gretarsson
Andri M. Gretarsson 2012년 10월 8일
Thanks here too... This was a hard nut to crack. No documentation...
Linux
Linux 2013년 8월 8일
Thanks, it works.
paul harder
paul harder 2014년 1월 22일
thanks!
Terence Kearey
Terence Kearey 2014년 4월 1일
Yay, I was struggling with this too, thanks.
Jinfeng
Jinfeng 2015년 4월 3일
Thanks, it works!
Jaeyoung Jung
Jaeyoung Jung 2016년 2월 2일
thank you for your tip!
Alvaro florez
Alvaro florez 2016년 11월 17일
Thanks!!!!
Yunshan Jiang
Yunshan Jiang 2017년 3월 16일
That so clever! Thank you very much. It works for me on 2012a
Abolfazl Nejatian
Abolfazl Nejatian 2017년 11월 18일
thank you, dear @ Katz
Isabella Osetinsky-Tzidaki
Isabella Osetinsky-Tzidaki 2019년 2월 12일
Great! Thank you!
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일

10 개 추천

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

Chris Deep
Chris Deep 2021년 2월 8일
편집: Chris Deep 2021년 2월 8일
Perfect! Many thanks. This works a treat!
Amanda Basant
Amanda Basant 2021년 5월 19일
Having the same problem, I can't figure out how to do it, any tips?
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일

1 개 추천

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일

0 개 추천

right click on the title of the m-file.
aref yel
aref yel 2021년 9월 12일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

질문:

2011년 6월 15일

댓글:

2023년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by