| Aerospace Toolbox | ![]() |
[tstart,tstop] = findstartstoptimes(h,tsdata)
[tstart,stop]
= h.findstartstoptimes(tsdata)
[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.
Find the start and stop times of the time series data, takeoffData.
h = Aero.VirtualRealityAnimation;
h.VRWorldFilename = [matlabroot,'/toolbox/aero/astdemos/vrtkoff.wrl'];
copyfile(h.VRWorldFilename,[tempdir,'vrtkoff.wrl'],'f');
h.VRWorldFilename = [tempdir,'vrtkoff.wrl'];
h.initialize();
load takeoffData;
h.Nodes{7}.TimeseriesSource = takeoffData;
h.Nodes{7}.TimeseriesSourceType = 'StructureWith Time';
[tstart,stop]=h.Nodes{7}.findstartstoptimes;
![]() | findstartstoptimes (Aero.Body) | generatePatches (Aero.Body) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |