Get names of fields - MATLAB fieldnames
www.mathworks.com › help › financefnames = fieldnames (tsobj,srsnameonly) returns field names depending upon the setting of srsnameonly. If srsnameonly is 0, the function returns all field names, including the common fields: desc , freq, dates, and times. If srsnameonly is set to 1 , fieldnames returns only the data series in fnames. Introduced before R2006a
fieldnames (MATLAB Functions)
www.ece.northwestern.edu › matlabhelp › fieldnamesfieldnames (MATLAB Functions) Return field names of a structure, or property names of an object Syntax names = fieldnames (s) names = fieldnames (obj) names = fieldnames (obj,'-full') Description names = fieldnames (s) returns a cell array of strings containing the structure field names associated with the structure s.