Get names of fields
fnames = fieldnames(tsobj) fnames = fieldnames(tsobj,srsnameonly)
Financial time series object
Field names returned:
0 = All field names (default).
1 = Data series names only.
fieldnames gets field names in a financial
time series object.
fnames = fieldnames(tsobj) returns the field
names associated with the financial time series object
a cell array of character vectors, including the common fields:
fnames = fieldnames(tsobj,srsnameonly) returns
field names depending upon the setting of
0, the function
returns all field names, including the common fields:
only the data series in