Skip to Main Content Skip to Search
Product Documentation

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

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS