Highlighting fields of structures in Matlab editor?

7 visualizzazioni (ultimi 30 giorni)
rokP
rokP il 1 Apr 2018
Risposto: Aniket il 3 Mar 2025
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.

Risposte (1)

Aniket
Aniket il 3 Mar 2025
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.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by