Skip to Main Content Skip to Search
Product Documentation

restoredefaultpath - Restore default search path

Alternatives

As an alternative to the restoredefaultpath function, use the Set Path dialog box.

Syntax

restoredefaultpath
restoredefaultpath; matlabrc

Description

restoredefaultpath sets the search path to include only folders for MathWorks installed products. Use restoredefaultpath when you are having problems with the search path.

restoredefaultpath; matlabrc sets the search path to include only folders for MathWorks installed products and corrects search path problems encountered during startup.

MATLAB does not support issuing restoredefaultpath from a UNC path name. Doing so might result in MATLAB being unable to find files on the search path. If you do issue restoredefaultpath from a UNC path name, restore the expected behavior by changing the current folder to an absolute path, and then reissuing restoredefaultpath.

See Also

addpath | genpath | matlabrc | rmpath | savepath

How To

  


» Learn more
» Download free kit
» Get trial software

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