Documentation Center

  • Trial Software
  • Product Updates

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.

    Note:   This function requires that you load the body geometry and time series data first.

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

Was this topic helpful?