Skip to content

ispref

prefs · scripts/prefs/ispref.m

: tf = ispref (group)
: tf = ispref (group, pref)
: tf = ispref (group, {pref1, pref2, …})

Test whether a preference group, or preferences in it, exist.

With one argument the result is true if the group group exists. With a preference name pref it is true if that preference exists in the group. With a cell array of names the result is a logical array of the same size as the cell array. Names are case sensitive.