Main Content

get

Query tsdata.event properties

Description

tseinfo = get(tse) returns all properties of the tsdata.event object tse.

example

tseinfo = get(tse,propname) returns the property value of the property propname. For a full list of tsdata.event property names, see tsdata.event.

Examples

collapse all

Create a tsdata.event object and display its time units.

tse = tsdata.event('MyEvent',3);
tseinfo = get(tse,'Units')
tseinfo = 
'seconds'

Input Arguments

collapse all

Input tsdata.event, specified as a scalar.

Property name, specified as a character vector. For a full list of tsdata.event property names, see tsdata.event.

Introduced before R2006a