MATLAB Examples

Importing a Model Exchange FMU into Simulink

This model shows how to use the FMU Import block to load an FMU file. The FMU file supports execution in Model Exchange mode.

Contents

Bouncing Ball System

This FMU file models a bouncing ball system, which is an example of a hybrid dynamic system. The FMU file supports FMI 2.0 Model Exchange mode. You can change acceleration due to gravity and coefficient of restitution in the FMU block dialog. You can also tune parameters during simulation.