How to show file name instead of full file path in matlab's code editor bar

6 次查看(过去 30 天)
Hi,
Usually the m code editor bar shows the full path to m file.
Occasionally I found that when I open the code editor and variable window and annex these two windows in the ceter of matlab window, the full path changed to file name only.
Is there a way to make the code editor bar always the file name only, instead of file path?
I found one setting in matlab.prf:
EditorNamedBufferOption=I2.
Does this setting control this behaviour? How to edit this setting?
Thanks.
  4 个评论
Mark
Mark 2025-2-25
In the Matlab Documentation under “Editor/Debugger Preferences” there is this entry:
Select Display full path of files in the Editor to display the full path of files open in the MATLAB Online Editor and Live Editor. The path displays at the top of each open file.
This option does not appear in Matlab release 2024B. Is this an error in the documentation or a bug in Matlab R2024B?

请先登录,再进行评论。

回答(0 个)

类别

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