Skip to Main Content Skip to Search
Product Documentation

update (Aero.Body) - Change body position and orientation as function of time

Syntax

update(h,t)
h.update(t)

Description

update(h,t) and h.update(t) change body position and orientation of body h as a function of time t. t is a scalar in seconds.

Examples

Update the body b with time in seconds of 5.

b=Aero.Body;
b.load('pa24-250_orange.ac','Ac3d'); 
tsdata = [ ...
    0,  1,1,1, 0,0,0; ...
    10  2,2,2, 1,1,1; ];
b.TimeSeriesSource = tsdata;
b.update(5);

See Also

load

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS