timeseries.set
timeseries: set (ts, name, value)
timeseries: set (ts, name1, value1, …)
timeseries: ts2 = set (ts, name, value, …)
timeseries: S = set (ts)
Set property values.
set (ts, name, value, …) sets each
property name, matched in any case, to its value, in the
order given, in the variable ts of the caller. ts must
therefore be a variable, not an expression such as an indexed element
or tc.Series; set those with dot assignment. For an array
of series every element is set.
ts2 = set (ts, name, value, …)
returns the modified series and leaves ts as it was, so
ts may then be any expression.
S = set (ts) returns what get (ts)
does. A name with no value is refused; MATLAB returns the current
value quoted as text.
See also: timeseries.get, timeseries
Source Code: timeseries