function rmpref(group,pref)
%RMPREF Remove preference.
%   RMPREF(GROUP,PREF) removes the preference specified by the strings
%   GROUP and PREF from the persistent store.  The GROUP identifier string
%   should be unique to avoid clashing with the preferences of other
%   toolboxes or products.  It is an error to try to remove a preference
%   that does not exist.
%
%   RMPREF(GROUP) removes all the preferences for the specified GROUP
%   from the persistent store.
%
%   Example:
%      addpref('mytoolbox','version',1.0)
%      rmpref('mytoolbox')
%
%   See also ADDPREF, GETPREF, SETPREF.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.3 $

if nargin == 1
  system_dependent('doprefs','rmpref',group);
else
  system_dependent('doprefs','rmpref',group,pref);
end
