User`s guide

VR Source
9-25
Source file — VRML file name specifying the virtual world that connects to this block.
By default, the full path to the associated .wrl file appears in this text box. If you enter
only the file name in this box, the software assumes that the .wrl file resides in the
same folder as the model file.
Click the New to open an empty default VRML editor. When you either enter a source
file name or use the Browse button, the New button becomes an Edit button.
Click the Edit button to launch the default VRML editor with the source file open.
Click the View button to view the world in the Simulink 3D Animation Viewer or a
Web browser.
Click the Reload button reloads the world after you change it.
Open VRML Viewer automatically — If you select this check box, the default VRML
viewer displays the virtual world after loading the Simulink model.
Allow viewing from the Internet — If you select this check box, the virtual world is
accessible for viewing on a client computer. If you do not select this check box, the world
is visible only on the host computer. This parameter is equivalent to the RemoteView
property of a vrworld object.
Description — Description that is displayed in all virtual reality object listings, in the
title bar of the Simulink 3D Animation Viewer, and in the list of virtual worlds on the
Simulink 3D Animation HTML page. This parameter is equivalent to the Description
property of a vrworld object.
Sample time — Enter the sample time or -1 for inherited sample time.
Note To achieve a smooth simulation, MathWorks recommends that you explicitly set
the Sample time parameter. You can change the value of this parameter to achieve the
specific visual experience you want.
Allow variable-size output signals — Specify the type of signals allowed out of this
port.
By default, the VR Source block does not allow variable-size signals. If you enable this
parameter, then the VR Source block allows variable-size signals for fields that can
change dimensions during simulation. These fields include MFxxx fields that can have a
variable number of elements (typically, MFFloat or MFVec3f). The SFImage is the only