Documentation Center

  • Trials
  • Product Updates

Search Path

View and change MATLAB® search path

Start Here

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?

Functions

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 default search path

Was this topic helpful?