getpref
Get custom setting value
Description
prefvalue = getpref(
returns the value of the specified setting in the specified group.
group
,pref
)prefvalue
can be any MATLAB® data type, including numeric types, character vectors, cell arrays,
structures, and objects. If pref
specifies multiple settings,
getpref
returns the values in a cell array. If the
specified setting does not exist, MATLAB returns an error.
prefvalue = getpref
returns all custom groups and settings as
a structure.