User`s guide

3 Simulink Interface
3-8
Changing the Virtual World Associated with a Simulink Block
On occasion, you might want to associate a different virtual world with a Simulink model
or connect different signals.
After you associate a virtual world with a Simulink model, you can select another virtual
world or change signals connected to the virtual world. This procedure assumes that you
have connected the vrtut2 Simulink model with a virtual world. See “Add a Simulink
3D Animation Block” on page 3-2.
1
Double-click the VR Sink block in the model. The viewer opens.
2
Select the Simulation menu Block Parameters option. The Parameters: VR Sink
dialog box opens.
3
At the Source File text box, click the Browse button. The Select World dialog box
opens. Find the folder matlabroot\toolbox\sl3d\sl3ddemos. Select the file
vrtkoff2.wrl, and click Open.
4
In the Parameters: VR Sink dialog box, click Apply.