ispref(group,pref)
returns 1 if the specified preference in the specified group
exists, and 0 otherwise. If pref specifies
multiple preferences, ispref returns a logical array containing
a 1 or 0 for each specified preference.
ispref(group) returns
1 if the specified group exists, and 0
otherwise.
MATLAB® returns a logical array containing a 1 for
the modifieddate preference and a 1
for the docpath preference. The hasdoc
preference does not exist and therefore the last value of the logical array
is 0.