set(ts, PropertyName, Value)
set(ts, PropertyName)
set(ts)
set(
sets the named property, ts
, PropertyName
, Value
)Name
, of the timeseries
object, ts
,
to the value, Value
. The following syntax is equivalent:
ts.Property = Value
set(
displays the value of the named property for the ts
, PropertyName
)timeseries
object, ts
.
set(
displays all properties and values of the ts
) timeseries
object ts
.
|
A |
|
A string specifying the name of a |
|
The value to which you want to set the named property. |
Create a timeseries
, set its name to mytimeseries
,
and then view the timeseries
properties:
ts1 = timeseries(rand(5,1),[1 2 3 4 5]); set(ts1, 'Name', 'mytimeseries') set(ts1)