Get custom preference value
prefvalue = getpref(
returns the value of the specified preference 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
preferences, getpref
returns the values in a cell array. If the
specified preference does not exist, MATLAB returns an error.