User`s guide
4 MATLAB Interface
4-2
Create vrworld Object for a Virtual World
To connect MATLAB to a virtual world and to interact with that virtual world through
the MATLAB command-line interface, you need to create vrworld and vrnode objects.
A virtual world is defined by a VRML file with the extension .wrl.
Note The Simulink interface and the MATLAB interface share the same virtual world
objects. This enables you to use the MATLAB interface to change the properties of
vrworld objects originally created by Simulink with Simulink 3D Animation blocks.
After you create a virtual world, you can create a vrworld object. This procedure uses
the virtual world vrmount.wrl as an example.