| Contents | Index |
newfts = chfield(oldfts, oldname, newname)
oldfts | Name of an existing financial time series object. |
oldname | Name of the existing component in oldfts. A MATLAB string or column cell array. |
newname | New name for the component in oldfts. A MATLAB string or column cell array. |
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.
fieldnames | isfield | rmfield
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |