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

5 ビュー (過去 30 日間)
raym
raym 2020 年 10 月 8 日
コメント済み: David Szwer 2023 年 1 月 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.
  3 件のコメント
raym
raym 2022 年 11 月 30 日
There must be a solution in mathwork, because when I put editor window and variable inspection window together above the command window in a Left-Right spit pattern, I noticed that the path was omitted, and only the file name remains. The difficult part is to know which interbal command was executed for this switch.
David Szwer
David Szwer 2023 年 1 月 30 日
At this related question: How do I show only the filename at the top of my editor instead of the full path?, a MathWorks employee says, "There is currently no way to set a preference for what the Editor window displays."

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by