User`s guide

vrgetpref
10-59
vrgetpref
Values of Simulink 3D Animation preferences
Syntax
x = vrgetpref
x = vrgetpref('preference_name')
x = vrgetpref('preference_name','factory')
x = vrgetpref('factory')
Arguments
preference_name Name of the preference to read.
Description
x = vrgetpref returns the values of all the Simulink 3D Animation preferences in a
structure array.
x = vrgetpref('preference_name') returns the value of the specified preference.
If preference_name is a cell array of preference names, a cell array of corresponding
preference values is returned.
x = vrgetpref('preference_name','factory') returns the default value for the
specified preference.
x = vrgetpref('factory') returns the default values for all the preferences.
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: