This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

get

Query tsdata.event properties

Syntax

tseinfo = get(tse)
tseinfo = get(tse,propname)

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