Documentation

Simulink 3D Animation Player

Play recorded 3D animation files

Description

Play recorded 3D animation files

The Simulink 3D Animation Player app plays 3D animation files created using the Simulink® 3D Animation™ animation recording functionality.

You can control the playing of the animation using toolbar buttons or Playback menu options. For example, you can step forward or reverse, fast forward, or jump. For keyboard shortcuts, see vrplay.

To create an additional Simulink 3D Animation Player window, in the Simulink 3D Animation Player, select File > New Window.

Open the Simulink 3D Animation Player App

  • MATLAB® Toolstrip: On the Apps tab, under Simulation Graphics and Reporting, click the app icon.

  • MATLAB command prompt: Enter vrplay.

Examples

Play an Animation File

To play the animation file based on the vr_octavia example, run vrplay('octavia_scene_anim.wrl').

  1. In the MATLAB Apps tab, in the Simulation Graphics and Reporting section, click 3D Animation Player.

  2. In the Simulink 3D Animation Player, select File > Open. Navigate to matlab/toolbox/sl3d/sl3ddemos/octavia_scene_anim.wrl.

  3. Select Playback > Play.

Introduced in R2006a

Was this topic helpful?