timeseries.get
Get a timeseries property value.
📝Syntax
value = get(ts, 'PropertyName')
values = get(ts)
📥Input Arguments
Parameter Description
ts Timeseries object.
PropertyName Name of the property to query, such as Name, Data, Time, DataInfo, or Events.
📤Output Arguments
Parameter Description
value Requested property value.
values Structure containing public property values.
📄Description

get Returns the value of a named timeseries property. Calling get with only the object returns the public property set.

💡Examples
ts = timeseries([1; 2; 3], [10; 11; 12], 'Name', 'speed');
name = get(ts, 'Name')
time = get(ts, 'Time')
🔗See Also
timeseries
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub