Set a preference pref to the given val in the named preference group group.
The named preference group must be a character string.
The preference pref may be a character string or a cell array of character strings.
The corresponding value val may be any value, or, if pref is a cell array of strings, val must be a cell array of values with the same size as pref.
If the named preference or group does not exist, it is added.
See also: addpref, getpref, ispref, rmpref.
Package: octave