Main Content

fganimation

Construct FlightGear animation object

Description

h = fganimation constructs a FlightGear animation object. The FlightGear animation object is returned to h.

example

Examples

collapse all

This example shows how to construct a FlightGear animation object, h.

h = fganimation
h = 
  FlightGearAnimation with properties:

             OutputFileName: 'runfg.bat'
    FlightGearBaseDirectory: 'C:\Program Files\FlightGear'
          GeometryModelName: 'HL20'
       DestinationIpAddress: '127.0.0.1'
            DestinationPort: '5502'
                  AirportId: 'KSFO'
                   RunwayId: '10L'
            InitialAltitude: 7224
             InitialHeading: 113
             OffsetDistance: 4.7200
              OffsetAzimuth: 0
             InstallScenery: 0
             DisableShaders: 0
               Architecture: 'Default'
                TimeScaling: 1
            FramesPerSecond: 12
                     TStart: NaN
                     TFinal: NaN
           TimeSeriesSource: []
       TimeSeriesSourceType: 'Array6DoF'
          TimeSeriesReadFcn: @Array6DoFRead

Output Arguments

collapse all

Flight gear animation object, returned as an Aero.FlightGearAnimation object.

Version History

Introduced in R2007a