title from indexed variables

2 Ansichten (letzte 30 Tage)
Fercho_Sala
Fercho_Sala am 20 Apr. 2021
Kommentiert: Fercho_Sala am 21 Apr. 2021
Hello, probably this is an easy answer, but I was wondering how I can call directly the 'variable' name as the title of a plot ?. Just the exact characters, for example the one showed in the red circle, it normally changes according to the .mat file. Thanks.
  4 Kommentare
the cyclist
the cyclist am 20 Apr. 2021
Suppose for first .mat file, the field names are Height, Error, vrad.
Suppose for the second .mat file, the field names are Error, vrad, Height, specWidth.
How do you decide which field you want to be part of the title?
Fercho_Sala
Fercho_Sala am 21 Apr. 2021
it will be something like where exacytly the field name is located?. However the answer privide by @Jonas is a good choise if we already know the numer of that 'location' , thank you so much guys.!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by