Blockset™ product supports an interface to the third-party FlightGear flight
simulator, open-source software available through a GNU General Public License
(GPL). The FlightGear flight simulator interface included with the blockset is a
unidirectional transmission link from the Simulink® interface to FlightGear using the FlightGear published
net_fdm binary data exchange protocol. Data is transmitted
via UDP network packets to a running instance of FlightGear. The blockset supports
multiple standard binary distributions of FlightGear. See Run FlightGear with the Simulink Models for interface details.
FlightGear is a separate software entity not created, owned, or maintained by MathWorks.
The Aerospace Blockset product supports these FlightGear versions:
If you are using a FlightGear version older than 2.0, update your FlightGear installation to a
supported version. When you open the model, the software returns a warning or error.
Obtain updated FlightGear software from
in the download area.
You can obtain FlightGear from the FlightGear website in the download area or by ordering CDs from FlightGear. The download area contains extensive documentation for installation and configuration. Because FlightGear is an open-source project, source downloads are also available for customizing and porting to custom environments.
To use FlightGear, you must have a high-performance graphics card with stable drivers For more information, see the FlightGear CD distribution or the hardware requirements and documentation areas of the FlightGear website.
FlightGear performance and stability can be sensitive to computer video cards, driver versions, and driver settings. You need OpenGL® support with hardware acceleration activated. Without proper setup, performance can drop from about a 30 frames-per-second (fps) update rate to less than 1 fps. If your system allows you to update OpenGL settings, modify them to improve performance.
For Windows® systems, use the following graphics recommendations:
A graphics card with acceptable OpenGL performance (as outlined at the FlightGear website).
The latest tested and stable driver release for your video card. Test the driver thoroughly on a few computers before deploying to others.
For more information, see
FlightGear distributions are available for Linux®, Macintosh, and other platforms from the FlightGear website,
www.flightgear.org. Installation on these platforms, like
Windows, requires careful configuration of graphics cards and drivers. Consult
the documentation and hardware requirements sections at the FlightGear
Your computer built-in video card, such as NVIDIA® cards, can conflict with FlightGear shaders. Consider one of these workarounds:
In the device manager, disable the NVIDIA driver, enable the Windows system video driver, and start FlightGear. After starting FlightGear, you can reenable the NVIDIA video card.
If you do not reenable the NVIDIA card, the Windows driver can affect shading quality, or cause your system to lose support for multiple monitors.
Disable the FlightGear shaders:
After you use the Generate Run Script block to
create a FlightGear run script (
the script file to add this line to the end of the file:
This command disables FlightGear shaders.
The extensive FlightGear documentation guides you through the installation in detail. Consult the following:
Documentation section of the FlightGear website for installation instructions:
MATLAB® system requirements.
Keep the following points in mind:
Configure your computer graphics card before you install FlightGear. See the preceding section, Configure Your Computer for FlightGear.
Shut down all running applications (including the MATLAB interface) before installing FlightGear.
Install FlightGear in a folder path name composed of ASCII characters.
MathWorks tests indicate that the operational stability of FlightGear is especially sensitive during startup. It is best not to move, resize, mouse over, overlap, or cover up the FlightGear window until the initial simulation scene appears after the startup splash screen fades out.
Blockset supports FlightGear on several platforms (
This table lists the properties to consider before you start to use FlightGear.
|FlightGear Property||Folder Description||Platforms||Typical Location|
|FlightGear installation folder.||Windows 64-bit|
|Linux||Folder into which you installed FlightGear|
(folder to which you dragged the FlightGear icon)
|Model geometry folder||Windows 64-bit|