View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.2 | 6 ratings Rate this file 28 Downloads (last 30 days) File Size: 129 KB File ID: #3019 Version: 1.1
image thumbnail



Giampiero Campa (view profile)


13 Feb 2003 (Updated )

The Aircraft Library

| Watch this File

File Information

Airlib is a library of aircraft models to be used with Simulink 3.1 (MATLAB 5.3) or later (tested on 6.1 & 6.5).

It is based on two basic blocks that implement a continuous-time and a discrete-time nonlinear general aircraft model. Both blocks are largely based on the FDC toolbox, written by Marc Rauw and available at the MATLAB Central website.

The initial version, dated Feb 2003, contains 13 different nonlinear aircraft models including, among others, a Boeing 747, an F4 Phantom, an F104 Starfighter, an X15, an IAI Pioneer (unmanned), a Convair 880 and four different Cessna models.

Each model is a link to one of the two library blocks, but of course with different parameters on the mask. Infact, the type of aircraft is entirely specified by the inertial and aerodynamic parameters typed on the mask, which also includes a very detaliled help that describes the meaning of inputs, states, outputs and mask parameters.

An example showing a Boeing 747 in a (closed loop) straight and level flight is also given.

In May 2003 a very effective matlab function (air3m.m) was added to allow the user to easily trim any given aircraft for any combination of desired speed, altitude, and flight path angle.

In March 04, a function that computes the aerodynamic derivatives from the linear model matrices was added, together with a simulink model that compares two different ways of handling the wind in the equations of motions.

In July 2006 a full guidance and control system based on the feedback linearization of the aircraft kinematic and dynamics was added. The scheme includes a waypoint generation system, and can be easily adapted to any aicraft with known aerodynamics coefficients.

Please have a look to the Readme.txt file for more detailed info.

Giampiero Campa, March 2004

Required Products Simulink
MATLAB release MATLAB 5.3 (R11)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
30 Dec 2015 Giampiero Campa

Giampiero Campa (view profile)

You can fix 3D visualization in the general controller model for versions 2014b and later by deleting the sfunxyz.m file and installing 3Dscope:

Comment only
23 Sep 2015 zhao mask

15 Apr 2015 Giampiero Campa

Giampiero Campa (view profile)

Note that the general controller model features also a (non essential) 3D scope which does not work properly for 2014b and later versions. I will try to fix it at some point. If you need it sooner rather than later please let me know.

Comment only
10 Nov 2012 ying wong


25 Jan 2010 Tiago

Tiago (view profile)

Dear Giampiero Campa,

Do you have some documentation or something to help the understand your model?

Tiago Cariolano

Comment only
04 May 2008 hasan bafayad

i just need to solve the boing 747 for
control and stability i hope it's usefull for me

08 Jan 2008 az bew

I look for aircraft Pilatus-9M !

Comment only
08 Jan 2008 aaa ddd

05 Oct 2005 tariq abrass

very good

25 Jul 2004 Nyan Tun

04 Mar 2003

Minor changes in the mask help.

31 Mar 2003

Small error in Demos.m corrected.

25 Apr 2003

Changed the file exchange category

07 May 2003

A very useful matlab function (air3m.m) to find the trim point of a general aircraft at a given speed, altitude, and gamma, has been included in the library.

02 Jun 2003

The file info.xml has been updated.

17 Dec 2003

Minor changes in the help file.

03 Mar 2004

A function that computes the aerodynamic derivatives from the linear model matrices, and a simulink model that compares two different ways of handling the wind have been added.

15 Mar 2004

Final clean-up of every file. No further updates are planned.

12 May 2005

Renamed everything lowercase

12 May 2005

Removed extra dir info from zip file

22 Aug 2006

A general fedback linearization tracking controller has been added.

11 Dec 2006

Removed all library links in the model airgk.mdl, so now it runs "out of the box".

18 Jun 2009 1.1

Removed old license

Contact us