| Aerospace Blockset™ | ![]() |
Animation/Flight Simulator Interfaces
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.
See Creating a FlightGear Run Script for more about FlightGear.

Click to generate a run script for FlightGear. Do not click this button until you have entered the correct information in the dialog fields.
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.
Specify the name of your FlightGear installation directory.
Specify the name of the folder containing the desired model geometry in the FlightGear\data\Aircraft directory.
Specify your network flight dynamics model (fdm) port. For more information, see the Send net_fdm Packet to FlightGear block reference.
Specify the airport ID. The list of supported airports is available in the FlightGear interface, under Location.
Specify the runway ID.
Specify the initial altitude of the aircraft, in feet.
Specify the initial heading of the aircraft, in degrees.
Specify the offset distance of the aircraft from the airport, in miles.
Specify the offset azimuth of the aircraft, in degrees.
See the asbhl20 demo for an example of this block.
FlightGear Preconfigured 6DoF Animation
Pack net_fdm Packet for FlightGear
Send net_fdm Packet to FlightGear
![]() | Gain Scheduled Lead-Lag | Geocentric to Geodetic Latitude | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |