Check whether character vector is field name
isfield is not recommended. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
F = isfield(tsobj,name)
F = isfield(tsobj,name) returns true (1) if
name is the name of a data series in tsobj.
Otherwise, isfield returns false (0).