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?
||Add folders to search path|
||Remove folders from search path|
||View or change search path|
||Save current search path|
||View or change default user work folder|
||Generate path name|
||Search path separator for current platform|
Interactively add and remove folders, and change the order of folders on the search path, for the current MATLAB session and for future MATLAB sessions.
The default search path changes for each MATLAB version because the default folders that come with the products change.
startup.m file is for specifying
startup options. Add folders to the search path by including
as the startup folder on Macintosh or UNIX® platforms.
For performance reasons, MATLAB caches toolbox folder information across sessions.
The search path, or path is a subset of all the folders in the file system. MATLAB software uses the search path to locate files used with MathWorks products efficiently.
When you do not specify a path to a file, MATLAB looks for the file in the current folder or on the search path. Functions in the current folder take precedence over functions with the same file name that reside anywhere on the search path.
When there is a problem with the search path, you cannot use MATLAB successfully. There are several recovery steps available to correct problems with the search path.
You can encounter errors or unexpected behavior when you try to delete, rename, or move folders.