restoredefaultpath - Restore default search path

Syntax

restoredefaultpath
restoredefaultpath; matlabrc

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 the MATLAB program 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 if 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, rmpath, savepath

Search Path in the MATLAB Desktop Tools and Development Environment documentation

  


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