Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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')

Introduced before R2006a

Was this topic helpful?