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

Enhancements to the original 747 demo


Updated 1 Sep 2016

View License

This example improves upon the previous attempts made on this demo:

A more recent enhancement for adding realism, quaternions and trajectory tracing was added to this submission here:

1. Multiple viewpoints and a 3D plot embedded inside a MATLAB GUI.

2. By attaching the Viewpoint node to the aircraft node, the second view from the aircraft is created which gives a better view of how the terrain looks from above.

3. As mentioned in 2, we also add a Spot Light node to the aircraft and alter is direction to create a lighting effect.

4. Experiment with the parameters a and b of the helical trajectory to see the various animations and views.

If you would like to explore more on how to use various VRML nodes, please refer to the tutorials available on the web:

Cite As

Simulink Dude (2023). Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license