chfield
Change data series name
chfield
is not recommended. Use timetable
instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
Description
changes the name of the financial time series object component from
newfts
= chfield(oldfts
,oldname
,newname
)oldname
to newname
.
Set newfts = oldfts
to change the name of an existing component
without changing the name of the financial time series object.
To change the names of several components at once, specify the series of old and new component names in corresponding column cell arrays.
You cannot change the names of the object components desc
,
freq
, and dates
.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a
See Also
fieldnames
| isfield
| rmfield