This is machine translation

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

Search Path

View and change MATLAB® search path

The MATLAB search path is a subset of all the folders in the file system. MATLAB uses the search path to efficiently locate files used with MathWorks® products. For more information, see What Is the MATLAB Search Path?


addpath Add folders to search path
rmpath Remove folders from search path
path View or change search path
savepath Save current search path
userpath View or change user portion of search path
genpath Generate path string
pathsep Search path separator for current platform
pathtool Open Set Path dialog box to view and change search path
restoredefaultpath Restore search path to its factory-installed state
rehash Refresh function and file system path caches

Was this topic helpful?