Main Content

vrplay

(To be removed) Play VRML animation file

vrplay will be removed in a future release. For more information, see Version History.

Syntax

vrplay
vrplay(filename)
x=vrplay(filename)

Description

vrplay opens the 3D Animation Player, which you use to open and play virtual world animation files.

vrplay(filename) opens the 3D Animation Player and loads the virtual world filename.

x=vrplay(filename) also returns a 3D Animation Player figure handle.

vrplay works only with VRML animation files created using the Simulink® 3D Animation™ virtual world recording functionality.

When you create additional vrplay windows using the File > New Window command, the window respects the current setting of the DefaultViewer property. By default, the File > New Window command creates the new player window implemented as a MATLAB® figure.

Simulink 3D Animation Player App

You can open the Simulink 3D Animation Player from the Apps tab in the MATLAB toolstrip as well as the Simulink toolstrip. In the tab, scroll to the Simulation Graphics and Reporting section and click 3D Animation Player.

Keyboard Support

The playback controls can also be accessed from the keyboard.

KeyFunction
F, Page DownFast forward
JJump to time
LLoop
PPlay/pause toggle
SStop
R, Page UpRewind
Right arrow keyStep forward
Left arrow keyStep reverse
Up arrow keyFirst
Down arrow keyLast

Version History

Introduced in R2006a

collapse all

R2023b: To be removed

The vrplay will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks to interface MATLAB and Simulink with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.