Play VRML animation file
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
x=vrplay(filename) also returns a 3D Animation Player figure
vrplay works only with VRML animation files created using the
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.
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.
The playback controls can also be accessed from the keyboard.
|F, Page Down||Fast forward|
|J||Jump to time|
|R, Page Up||Rewind|
|Right arrow key||Step forward|
|Left arrow key||Step reverse|
|Up arrow key||First|
|Down arrow key||Last|
To play the animation file based on the
vr_octavia example, run