Documentation Center

  • Trials
  • Product Updates

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

| | | |

Was this topic helpful?