tsout = addevent(tsin,tsevent)adds atsdata.eventobjecttseventto thetimeseriesobjecttsin. The eventtseventcan be a singletsdata.eventobject or an array oftsdata.eventobjects.
tsout = addevent(tsin,eventname,eventtime)creates atsdata.eventobject and adds it to theEventsproperty oftsin. The argumenteventnamecan be a single event name character vector or a cell array of event name character vectors.eventtimeis the corresponding event time or a cell array of event times.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.