Getting Started with Simulink 3D Animation: Bouncing Ball with Deformation Demo

This helps you get started with Simulink 3D Animation formerly known as Virtual Reality Toolbox.
Updated 1 Sep 2016

View License

The main goal of this demo is to show how you can improve your visualization and understanding of a dynamic system that has simple second order differential equations but complex to visualize due to switching between them. By using 3D animation, you can get a much better understanding of the deformation of the ball.
The zip file contains:

1. PDf document: This walks through the modeling equations for free fall , the collision and the deformation.
2. The mdl file contains the Simulink® model that represents the above equations. We use Embedded MATLAB® to model contact and collision equations.
3. The WRL file contains the 3D world built with V-Realm Builder.

The videos walking through these steps are available here:

1. Building a Simulink Model

2. Building a 3D World

3. Connect SImulink Model to 3D World

Check out some other videos and product demos here:

Cite As

Simulink Dude (2024). Getting Started with Simulink 3D Animation: Bouncing Ball with Deformation Demo (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Simulation in Help Center and MATLAB Answers

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

Updates to some video links that are live.