findstartstoptimes (Aero.Node)
Return start and stop times for time series data
Syntax
[tstart,tstop] = findstartstoptimes(h,tsdata)
[tstart,stop] = h.findstartstoptimes(tsdata)
Description
[tstart,tstop] = findstartstoptimes(h,tsdata)
and [tstart,stop] = h.findstartstoptimes(tsdata)
return
the start and stop times of time series data tsdata
for
the virtual reality animation object h
.
Examples
Find the start and stop times of the time series data, takeoffData
.
h = Aero.VirtualRealityAnimation; h.VRWorldFilename = [matlabroot,'/examples/aero/data/asttkoff.wrl']; copyfile(h.VRWorldFilename,[tempdir,'asttkoff.wrl'],'f'); h.VRWorldFilename = [tempdir,'asttkoff.wrl']; h.initialize(); load takeoffData; h.Nodes{7}.TimeSeriesSource = takeoffData; h.Nodes{7}.TimeSeriesSourceType = 'StructureWithTime'; [tstart,stop]=h.Nodes{7}.findstartstoptimes;
Version History
Introduced in R2007b