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 comentario

Jan
Jan el 15 de Jun. de 2011
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?

Iniciar sesión para comentar.

 Respuesta aceptada

Michael Katz
Michael Katz el 17 de Jun. de 2011

38 votos

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 comentarios

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

Iniciar sesión para comentar.

Más respuestas (4)

Nnanyelugo Nwegbu
Nnanyelugo Nwegbu el 29 de Ag. de 2019

10 votos

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 comentarios

Chris Deep
Chris Deep el 8 de Feb. de 2021
Editada: Chris Deep el 8 de Feb. de 2021
Perfect! Many thanks. This works a treat!
Amanda Basant
Amanda Basant el 19 de Mayo de 2021
Having the same problem, I can't figure out how to do it, any tips?
Alan Peters
Alan Peters el 6 de Oct. de 2022
There is no dropdown menu under the view tab.
Nusrat Zaman
Nusrat Zaman el 4 de Ag. de 2023
Thanks you so much!

Iniciar sesión para comentar.

juan pf
juan pf el 26 de Mzo. de 2014

1 voto

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 comentarios

tayyebe sh
tayyebe sh el 16 de Jul. de 2015
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 el 7 de Jul. de 2017
thanks a lot.

Iniciar sesión para comentar.

Stefan Bleeck
Stefan Bleeck el 7 de Dic. de 2017

0 votos

right click on the title of the m-file.
aref yel
aref yel el 12 de Sept. de 2021

0 votos

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

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Preguntada:

el 15 de Jun. de 2011

Comentada:

el 4 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by