User`s guide

1 Getting Started
1-6
Invalid MEX-file 'matlab/toolbox/sl3d/sl3d/vrsfunc.mexglx':
libGL.so: cannot open shared object file
If you see an error like this, set the LD_LIBRARY_PATH environment variable.
If the LD_LIBRARY_PATH environment variable already exists, use a line like the
following to add the new path to the existing one:
setenv LD_LIBRARY_PATH
matlabroot/sys/opengl/lib/<PLATFORM>:$LD_LIBRARY_PATH
If the LD_LIBRARY_PATH environment variable does not already exist, use a line like the
following:
setenv LD_LIBRARY_PATH
matlabroot/sys/opengl/lib/<PLATFORM>
In both cases, <PLATFORM> is the UNIX platform you are working in.
Build a Virtual Reality World
Use a VRML editor to build a virtual reality world. A non-VRML CAD model created
with another tool can be a good basis for a virtual reality world to use with Simulink 3D
Animation. You may be able to convert the CAD model to a VRML model.
The Simulink 3D Animation product uses many of the advanced features defined in the
current VMRL97 specification, including:
Viewpoints, to highlight points of interest for quick browsing of a virtual reality world
Sensors, to input virtual reality world values to Simulink models
For more an overview of VRML and details about supported VRML features, see “Virtual
Reality Modeling Language (VRML)”.
As you add VRML nodes with the 3D World Editor, you can use the viewer pane to see
the virtual world that you are creating.
For a step-by-step example of building a virtual reality world with the 3D World Editor,
see “Build and Connect a Virtual World”.
Link to a Virtual Reality World
To use a dynamic system simulation to drive a virtual reality world, you need to connect
the virtual world to one of the following: