MATLAB Function Reference    
rmpath

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

Description

rmpath('directory') removes the specified directory from MATLAB's current search path. Use the full pathname for directory.

rmpath directory is the unquoted form of the syntax.

Examples

To remove /usr/local/matlab/mytools from the search path, type

See Also

addpath, path, rehash, pathtool


 rmfield root object