Be the first to rate this file! 29 Downloads (last 30 days) File Size: 832 KB File ID: #27986 Version: 1.2
image thumbnail

Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing


Simulink Dude (view profile)


22 Jun 2010 (Updated )

Several enhancements made to the original 747 demo.

| Watch this File

File Information

In the video associated with the demo here:

There was a teaser posed in the video asking why the 747 in the animation did a 360 flip at certain points in the trajectory. The answer was: We were not using quaternions.

This demo uses the quaternion functions from the Aerospace Toolbox to resolve this paradox.

Also, to add realism to the scene, the terrain was modeled in Blender, a free 3D tool for authoring powerful 3D scenes:

The tutorial that was referenced for creating the mountains is available here:

Use the Export to VRML feature to bring into VRML format and add the aircraft from the Objects library in VRealm Builder editor.

The sky was modeled as a half-hemisphere with texturing.

The trajectory tracing was done by creating spheres dynamically using the PROTO declarations.


This file inspired International Flight Route Planning Simulator Using Aerospace Blockset.

Required Products Aerospace Toolbox
Simulink 3D Animation
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
10 Oct 2010 Simulink Dude

Simulink Dude (view profile)

You can now follow me on Twitter:

Comment only
20 Sep 2010 Simulink Dude

Simulink Dude (view profile)

Design Talk: Enhancing Simulation Studies with 3D Animation Article

Comment only
01 Jul 2010 Simulink Dude

Simulink Dude (view profile)

Nice article to read on creating realistic scenes in VRML and use it with Simulink 3D Animation/Virtual Reality Toolbox;

Comment only
01 Jul 2010 Simulink Dude

Simulink Dude (view profile)

Other enhancements for this demo:

Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting:


Fly a 747 with MATLAB: Shaky Camera Effect, Sound Effect:

Comment only
12 Jul 2010 1.2

Updated thumbnails

Contact us