User`s guide
vrsetpref
10-111
3D Animation Viewer. Changes to the HttpPort or VrPort preferences take effect only
after you restart the MATLAB software.
DefaultFigureNavPanel — Controls the appearance of the navigation panel in the
Simulink 3D Animation Viewer. For example, setting this value to 'translucent'
causes the navigation panel to appear translucent.
DefaultViewer — Determines whether the virtual scene appears in the default
Simulink 3D Animation Viewer, based on MATLAB figure windows, legacy Simulink 3D
Animation Viewer, or in your Web browser.
DefaultViewer Setting Description
'internal' Default Simulink 3D Animation Viewer. This is the
same as setting the value to 'internalv5' for all
platforms except the Linux platform.
'internalv4' Simulink 3D Animation Viewer that is the previous
default viewer for most platforms. This viewer
continues to be the default viewer for Linux
platforms.
'internalv5' Viewer based on MATLAB figure windows.
'web' Viewer is the default Web browser with the VRML
plug-in.
Note: If you are running the Simulink 3D Animation software on a Linux platform, the
default viewer continues to be legacy viewer, which does not support MATLAB figures. If
you have a Linux platform and want to access the MATLAB figure capability, you must
install the hardware-accelerated OpenGL rendering engine. Otherwise, the Simulink 3D
Animation software cannot properly display the viewer. You can then activate the viewer
by using vrsetpref to set the DefaultViewer property to 'internalv5'.
Editor — Contains a path to the VRML editor executable file. When you use the edit
command, Simulink 3D Animation runs the VRML editor executable with all parameters
required to edit the VRML file.
When you run the editor, Simulink 3D Animation uses the Editor preference value as if
you typed it into a command line. The following tokens are interpreted:
%matlabroot Refers to the MATLAB root folder