Highlighting fields of structures in Matlab editor?

4 ビュー (過去 30 日間)
rokP
rokP 2018 年 4 月 1 日
回答済み: Aniket 2025 年 3 月 3 日
When you select a structure in the Matlab Editor, it highlights the name of the structure throughout your script. But when you select a name of the field of the structure, they are not highlighted at all.
Is there a way or is Mathworks planing to fix this issue? That would be highly recommendable from very-long-scripts point of view.

回答 (1 件)

Aniket
Aniket 2025 年 3 月 3 日
Hi @rokP,
I am able to observe that fieldnames of structs are not highlighted on selecting an instance of it in R2018a.
The issue seems to be addressed from R2023b onwards. I recommend upgrading to the latest version of MATLAB to observe this enhancement.

カテゴリ

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