Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

chfield

Change data series name

Syntax

newfts = chfield(oldfts, oldname, newname)

Arguments

oldfts

Name of an existing financial time series object.

oldname

Name of the existing component in oldfts. A MATLAB® character vector or column cell array.

newname

New name for the component in oldfts. A MATLAB character vector or column cell array.

Description

newfts = chfield(oldfts, oldname, newname) changes the name of the financial time series object component from 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.

Introduced before R2006a

Was this topic helpful?