User`s guide

2 Installation
2-2
Set the Default Viewer
If you install a VRML plug-in in your Web browser, it is possible to view virtual worlds
with either the Simulink 3D Animation Viewer, legacy Simulink 3D Animation Viewer,
or your Web browser. You determine the viewer used to display your scene using the
vrsetpref and vrgetpref commands. (Alternatively, if you want to use the MATLAB
File menu Preferences dialog box, see “Set Simulink 3D Animation Preferences” on page
2-11.)
The following procedure describes how to set the viewer to the Simulink 3D Animation
Viewer or the Web browser. It assumes that you are working with a PC platform. If
you want to use the legacy Simulink 3D Animation Viewer, see “Legacy Simulink 3D
Animation Viewer”.
1
Determine your default viewer by typing
vrgetpref
The MATLAB Command Window displays
ans =
DataTypeBool: 'logical'
DataTypeInt32: 'double'
DataTypeFloat: 'double'
DefaultCanvasNavPanel: 'opaque'
DefaultCanvasUnits: 'normalized'
DefaultEditorPosition: [822 123 661 703]
DefaultEditorTriad: 'bottomleft'
DefaultFigureAntialiasing: 'on'
DefaultFigureCaptureFileFormat: 'tif'
DefaultFigureCaptureFileName: '%f_anim_%n.tif'
DefaultFigureDeleteFcn: ''
DefaultFigureLighting: 'on'
DefaultFigureMaxTextureSize: 'auto'
DefaultFigureNavPanel: 'halfbar'
DefaultFigureNavZones: 'off'
DefaultFigurePosition: [5 92 576 380]
DefaultFigureRecord2DCompressMethod: 'auto'
DefaultFigureRecord2DCompressQuality: 75
DefaultFigureRecord2DFileName: '%f_anim_%n.avi'
DefaultFigureRecord2DFPS: 15
DefaultFigureStatusBar: 'on'