MATLAB Function Reference Previous page   Next Page
restoredefaultpath

Restore default MATLAB search path

Syntax

Description

restoredefaultpath sets the search path to include only installed products from The MathWorks. Run restoredefaultpath if you are having problems with the search path. If restoredefaultpath seems to correct the problem, run savepath. Start MATLAB again to be sure the problem does not reappear.

restoredefaultpath; matlabrc sets the search path to include only installed products from The MathWorks and corrects path problems encountered during startup. Run restoredefaultpath; matlabrc if you are having problems with the search path and restoredefaultpath by itself does not correct the problem. After the problem seems to be resolved, run savepath. Start MATLAB again to be sure the problem does not reappear.

See Also

addpath, path, pathdef, rmpath, savepath

Search Path in the MATLAB Desktop Tools and Development Environment documentation


Previous page  residue rethrow Next page

© 1994-2005 The MathWorks, Inc.