Display full file name in the script editor

11 visualizaciones (últimos 30 días)
Hiep Dang
Hiep Dang el 17 de Dic. de 2012
Respondida: Diarmaid Cualain el 13 de Jul. de 2018
The title is basically what I want to ask. It seems dull but somehow my editor does not display the full name of m files. The file names in the multiple tabs are accompanied with "...", and it's quite annoying sometime. I guess that if I open a lot of tabs, this issue will occur to save some place. However, I only open 1-2 m files.
Thanks for your help.
  1 comentario
per isakson
per isakson el 17 de Dic. de 2012
Which release of Matlab? Here R2012a (Win7) shows the full names.

Iniciar sesión para comentar.

Respuesta aceptada

per isakson
per isakson el 17 de Dic. de 2012
If you have a narrow vertical pane with one column of file names you can drag (one of) its border to make the pane wider.
  3 comentarios
per isakson
per isakson el 17 de Dic. de 2012
Editada: per isakson el 17 de Dic. de 2012
I assume that
  • the file names are stacked vertically - one above the other
  • you with the word, "pane", refer to the area in which the names are displayed.
Am I right?
Image Analyst
Image Analyst el 17 de Dic. de 2012
So you drag your tab wider, and it's half the screen, but the filename on the tab does not increase? It's still "inp_V..." and not the full filename?

Iniciar sesión para comentar.

Más respuestas (3)

Hiep Dang
Hiep Dang el 18 de Dic. de 2012
Thanks all for your help. I pick up from your advice and manage to find a way to sort out this problem.
1. Previously my tab names are in the bottom. And the file names are truncated with ... Even though the file names are short, and I open only one m-file.
2. I change the bar position to vertical left. Following suggestion of per isakson, I can make the bar wider to have the full name.
3. Finally, change the bar back to bottom position.
Now the file names are displayed in full.
Once again, thanks all.

Image Analyst
Image Analyst el 17 de Dic. de 2012
It shows the fullname if you hover the mouse over the tab. If you didn't show the base filename and showed the full path, then with a lot of tabs you'd see only the drive letter.
  3 comentarios
Image Analyst
Image Analyst el 17 de Dic. de 2012
Mine doesn't do that. I have lots of m-files with long names, because they are descriptive, such as CameraNoiseAnalyzer.m. There's no dot dot dot until I get to a really long name like RGB_to_XYZ_transform_explanation_demo.m then it cuts off when it exceeds 29 characters: "RGB_to_XYZ_transform_explana..." but that's way longer than the 6 characters it kicks in for with you. Even so, like per says, I can position the cursor between the tabs until I get the double horizontal arrow and drag it wider and see the full name.
Hiep Dang
Hiep Dang el 18 de Dic. de 2012
Thanks, it's true, I found a way out for that. Have two desktop and only one experiences this annoying thing.

Iniciar sesión para comentar.


Diarmaid Cualain
Diarmaid Cualain el 13 de Jul. de 2018
I had the same issue, and the workaround fix given by Hiep Dang worked. Thanks!

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by