Virtual Reality Toolbox | ![]() ![]() |
Adding a Virtual Reality Toolbox Block
This procedure uses the Simulink model vrtut3.mdl
as an example to explain how to add a Virtual Reality Toolbox block to your model. The model generates the values for the position of B1, the position of B2, and the dimensions of S for the problem previously defined. See Defining the Problem.
<matlab root>
\toolbox\vr\vrdemos\, copy the file vrtut3.mdl
to your MATLAB working directory.
Your next task is to create a virtual world that you will associate with the VR Sink block. See Creating a Sphere in a Virtual World.
![]() | Defining the Problem | Creating a Sphere in a Virtual World | ![]() |