Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

rmpref - Remove preference

Syntax

rmpref('group','pref')
rmpref('group',{'pref1','pref2',...'prefn'})
rmpref('group')

Description

rmpref('group','pref') removes the preference specified by group and pref. It is an error to remove a preference that does not exist.

rmpref('group',{'pref1','pref2',...'prefn'}) removes each preference specified in the cell array of preference names. It is an error if any of the preferences do not exist.

rmpref('group') removes all the preferences for the specified group. It is an error to remove a group that does not exist.

Examples

addpref('mytoolbox','version','1.0')
rmpref('mytoolbox')

See Also

addpref, getpref, ispref, setpref, uigetpref, uisetpref

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS