get a tlist, mlist or struct fields names
f = fieldnames(lst)
A tlist, mlist or struct variable.
Strings column vector of fields names.
The fieldnames function returns field names
of a tlist, mlist or struct. fieldnames
does not work on cells.