Generate Run Script - Generate FlightGear run script on current computer

Library

Animation/Flight Simulator Interfaces

Description

The Generate Run Script block generates a customized FlightGear run script on the current platform.

To generate the run script, fill the required information into the dialog's fields, then click Generate Script.

Fields in the dialog marked with an asterisk (*) are evaluated as MATLAB® expressions. The other fields are treated as literal text.

For More Information About FlightGear

See Creating a FlightGear Run Script for more about FlightGear.

Dialog Box

Generate Script

Click to generate a run script for FlightGear. Do not click this button until you have entered the correct information in the dialog fields.

Output file name

Specify the name of the output file. The file name is the name of the command you will use to start FlightGear with these initial parameters. The file must have the .bat extension.

FlightGear base directory

Specify the name of your FlightGear installation directory.

FlightGear geometry model name

Specify the name of the folder containing the desired model geometry in the FlightGear\data\Aircraft directory.

Destination port

Specify your network flight dynamics model (fdm) port. For more information, see the Send net_fdm Packet to FlightGear block reference.

Airport ID

Specify the airport ID. The list of supported airports is available in the FlightGear interface, under Location.

Runway ID

Specify the runway ID.

Initial altitude

Specify the initial altitude of the aircraft, in feet.

Initial heading

Specify the initial heading of the aircraft, in degrees.

Offset distance

Specify the offset distance of the aircraft from the airport, in miles.

Offset azimuth

Specify the offset azimuth of the aircraft, in degrees.

Examples

See the asbhl20 demo for an example of this block.

See Also

FlightGear Preconfigured 6DoF Animation

Pack net_fdm Packet for FlightGear

Send net_fdm Packet to FlightGear

  


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