Development Environment | ![]() ![]() |
Removing Directories from the Search Path
To remove directories from the MATLAB search path using the Set Path dialog box:
The directory is removed from the search path for the remainder of the current MATLAB session. To use the newly modified search path in subsequent sessions, you need to save the path - see Saving Settings to the Path.
Function Equivalent. To remove directories from the search path, use rmpath
.
You can include rmpath
functions in your startup
M-file to automatically modify the path when MATLAB starts.
![]() | Moving Directories within the Search Path | Restoring the Default Search Path | ![]() |