Highlighting fields of structures in Matlab editor?

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.

Answers (1)

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.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Asked:

on 1 Apr 2018

Answered:

on 3 Mar 2025

Community Treasure Hunt

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

Start Hunting!