| Virtual Reality Toolbox | ![]() |
Connecting a Simulink Model to a Virtual World
After you create a virtual world, a Simulink model, and add a Virtual Reality Toolbox block to your model, you can define the associations between the model signals and the virtual world. This procedure uses the model vrtut3.mdl as an example. It assumes that you have opened the model and that you have added a VR Sink block. See Adding a Virtual Reality Toolbox Block.
vrtut3.wrl, and then click Open.
When the width of the sphere is reduced to 0.4 of its original size, the simulation stops running.

This example shows you how to create and use a very simple virtual reality model. Using the same method, you can create more complex models for solving your particular problems.
| Creating a Box in a Virtual World | Viewing a Virtual World | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |