User`s guide

VR Sink
9-19
VR Sink
Write data from Simulink model to virtual world
Library
Simulink 3D Animation
Description
The VR Sink block writes values from its ports to virtual world fields specified in the
Block Parameters dialog box.
For an example of how to use the VR Sink block, see the Foucault Pendulum Model with
Virtual Reality Scene example.
The VR Sink block is equivalent to the VR To Video block, except that the Show video
output port parameter for the VR Sink block is cleared by default.
The VR Sink block cannot be compiled by the Simulink Coder software, but it can be used
as a SimViewing device on the host computer.
Note: The current internal viewer window (vrfigure) properties are saved together
with the Simulink model. The next time you open the model, the internal viewer window
opens with the same parameters that were last saved, such as position, size, and
navigation mode. When closing the viewer window, the Simulink software does not alert
you if these properties have changed.
The VR Sink block is a Sim Viewing Device. You can include it in models that you
compile with Simulink Coder software. If you use External mode to compile, build,
and deploy the model on a target platform, such as Simulink Real-Timeā„¢ or Simulink