User`s guide

4
MATLAB Interface
Although using the Simulink 3D Animation software with the Simulink interface is the
preferred way of working with the Simulink 3D Animation software, you can also use the
MATLAB interface. Enter commands directly in the MATLAB Command Window or use
scripts to control virtual worlds.
“Create vrworld Object for a Virtual World” on page 4-2
“Open a Virtual World with MATLAB” on page 4-4
“Interact with a Virtual World with MATLAB” on page 4-6
“Close and Delete a vrworld Object” on page 4-9
“Animation Recording” on page 4-10
“File Name Tokens” on page 4-12
“Define File Name Tokens” on page 4-13
“File Name Tokens” on page 4-15
“Manual 3-D VRML Recording with MATLAB” on page 4-17
“Manual 2-D AVI Recording with MATLAB” on page 4-19
“Scheduled 3-D VRML Recording with MATLAB” on page 4-22
“Scheduled 2-D AVI Recording with MATLAB” on page 4-25
“Record Animations for Unconnected Virtual Worlds” on page 4-28
“Play Animation Files” on page 4-31