| MATLAB Function Reference | ![]() |
Test for existence of preference
Syntax
Description
ispref('group','pref')
returns 1 if the preference specified by group and pref exists, and 0 otherwise.
ispref('group')
returns 1 if the GROUP exists, and 0 otherwise.
ispref('group',{'pref1','pref2',...'prefn'})
returns a logical array the same length as the cell array of preference names, containing 1 where each preference exists, and 0 elsewhere.
Examples
See Also
addpref, getpref, rmpref, setpref, uigetpref, uisetpref
| ispc | isprime | ![]() |
© 1994-2005 The MathWorks, Inc.