User`s guide

1 Getting Started
1-30
MATLAB Interface Examples
The following table lists the MATLAB interface examples provided with the software.
Descriptions of the examples follow the table. MATLAB interface examples display
virtual worlds in your default viewer. If your default is the Simulink 3D Animation
Viewer, some buttons are unavailable. In particular, the simulation buttons for
simulation and recording are unavailable.
Example Moving
Objects
Morphing
Objects
Text Recording vrml()
Function
Use
Space
Mouse
vrcar X
vrheat X X
vrheat_anim X X X
vrmemb X X X
vrterrain_simple X
vrtkoff_spacemouse X X
Car in the Mountains Example (vrcar)
This example illustrates the use of the Simulink 3D Animation product with the
MATLAB interface. In a step-by-step tutorial, it shows commands for navigating a
virtual car along a path through the mountains.
1
In the MATLAB Command Window, type
vrcar
2
A tutorial script starts running. Follow the instructions in the MATLAB Command
Window.
Heat Transfer Example (vrheat)
This example illustrates the use of the Simulink 3D Animation product with the
MATLAB interface for manipulating complex objects.
In this example, matrix-type data is transferred between the MATLAB software and
a virtual reality world. Using this feature, you can achieve massive color changes or
morphing. This is useful for representing various physical processes. Precalculated data