Main Content

update

Class: Aero.Body
Namespace: Aero

Update body position and orientation as function of time

Syntax

update(h,t)

Description

update(h,t) updates the body position and orientation of body h as a function of time t.

Input Arguments

expand all

Aerospace body object, specified as an Aero.Body object.

Time, specified as a scalar, in seconds.

Data Types: double

Examples

expand all

Update the body b with a time of 5 seconds.

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);

Version History

Introduced in R2007a

See Also

Classes

Functions