User`s guide

vii
View Virtual World Remotely . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Working with VRML Sensors . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Add VRML Sensors to Virtual Worlds . . . . . . . . . . . . . . . . . 3-22
Interactive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Read VRML Sensor Values . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
VR Source Block Input to Simulink Models . . . . . . . . . . . . . 3-26
Interact with Generated Code . . . . . . . . . . . . . . . . . . . . . . . . 3-27
MATLAB Interface
4
Create vrworld Object for a Virtual World . . . . . . . . . . . . . . 4-2
Open a Virtual World with MATLAB . . . . . . . . . . . . . . . . . . . 4-4
Interact with a Virtual World with MATLAB . . . . . . . . . . . . . 4-6
Close and Delete a vrworld Object . . . . . . . . . . . . . . . . . . . . . 4-9
Animation Recording . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Recording Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Manual and Scheduled Animation Recording . . . . . . . . . . . 4-11
File Name Tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Define File Name Tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Default File Name Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Uses for File Name Tokens . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
File Name Tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Manual 3-D VRML Recording with MATLAB . . . . . . . . . . . . 4-17
Manual 2-D AVI Recording with MATLAB . . . . . . . . . . . . . . 4-19
Scheduled 3-D VRML Recording with MATLAB . . . . . . . . . 4-22