User`s guide
vrgetpref
10-67
%matlabroot Refers to the MATLAB root folder
%file Refers to the VRML file name
For instance, a possible value for the Editor preference is
`%matlabroot\bin\win32\meditor.exe %file'
If this preference is empty, the MATLAB editor is used.
HttpPort -- Specifies the network port to be used for Web access. The port is given in
the Web URL as follows:
http://server.name:port_number
The default value of this preference is 8123.
TransportBuffer — Defines the size of the message window for client-server
communication. This value determines how many messages, at a maximum, can travel
between the client and the server at one time.
Generally, higher values for this preference make the animation run more smoothly, but
with longer reaction times. (More messages in the line create a buffer that compensates
for the unbalanced delays of the network transfer.)
The default value is 5, which is optimal for most purposes. You should change this value
only if the animation is significantly distorted or the reaction times are very slow. On
fast connections, where delays are introduced more by the client rendering speed, this
value has very little effect. Viewing on a host computer is equivalent to an extremely
fast connection. On slow connections, the correct value can improve the rendering speed
significantly but, of course, the absolute maximum is determined by the maximum
connection throughput.
VrPort — Specifies the network port to use for communication between the Simulink
3D Animation server (host computer) and its clients (client computers). Normally,
this communication is completely invisible to the user. However, if you view a virtual
world from a client computer, you might need to configure the security network system
(firewall) so that it allows connections on this port. The default value of this preference is
8124.
See Also
vrsetpref