| MATLAB Function Reference | ![]() |
Remove directories from the MATLAB search path
Graphical Interface
As an alternative to the rmpath function, use the Set Path dialog box.To open it, select Set Path from the File menu in the MATLAB desktop.
Syntax
rmpath('directory')
rmpath directory
Description
removes the specified directory from MATLAB's current search path. Use the full pathname for rmpath('directory')
directory.
rmpath directory
is the unquoted form of the syntax.
Examples
To remove /usr/local/matlab/mytools from the search path, type
rmpath /usr/local/matlab/mytools
See Also
addpath, path, rehash, pathtool
| rmfield | root object | ![]() |