User`s guide

vrsetpref
10-105
vrsetpref
Change Simulink 3D Animation preferences
Syntax
vrsetpref('preference_name', 'preference_value')
vrsetpref('factory')
Arguments
preference_name Name of the preference.
preference_value New value of the preference.
Description
This function sets the given Simulink 3D Animation preference to a given value.
The following preferences are defined. For preferences that begin with the string
DefaultFigure or DefaultWorld, these values are the default values for the
corresponding vrfigure or vrworld property:
Preference Description
DataTypeBool Specifies the handling of the VRML Bool data
type for vrnode/setfield and vrnode/
getfield. Valid values are 'logical' and
'char'. If set to 'logical', the VRML Bool
data type is returned as a logical value. If set to
'char', the Bool data type is returned 'on' or
'off'. Default is 'logical'.
DataTypeInt32 Specifies handling of the VRML Int32 data type
for vrnode/setfield and vrnode/getfield.
Valid values are 'int32' and 'double'. If
set to 'int32', the VRML Int32 data type
is returned as int32. If set to 'double', the