User`s guide
Virtual Reality World and Dynamic System Examples
1-23
For more details on how to read values from virtual worlds programmatically, see
“Working with VRML Sensors”.
Magnetic Levitation Model for Simulink Desktop Real-Time Example (vrmaglev_sldrt)
In addition to the vrmaglev example, the vrmaglev_sldrt example works directly
with the actual CE 152 scale model hardware in real time. This model to work with
the HUMUSOFT MF 624 data acquisition board, and Simulink Coder and Simulink
Desktop Real-Time™ software. However, you can adapt this model for other targets and
acquisition boards. A digital IIR filter, from the DSP System Toolbox™ library, filters the
physical system output. You can bypass the physical system by using the built-in plant
model. Running this model in real time is an example showing the capabilities of the
Simulink product in control systems design and rapid prototyping.
After enabling the remote view in the VR Sink block dialog box, you can control the
Simulink model even from another (remote) client computer. This control can be useful
for distributing the computing power between a real-time Simulink model running on one
machine and the rendering of a virtual reality world on another machine.
To work with this model, use as powerful a machine as possible or split the computing
and rendering over two machines.
Manipulator with Space Mouse Example (vrmanipul)
The vrmanipul example illustrates the use of Simulink 3D Animation software for
virtual reality prototyping and testing the viability of designs before the implementation
phase. Also, this example illustrates the use of a space mouse input for manipulating
objects in a virtual world. You must have a space mouse input to run this example.