MATLAB Function Reference    
rmpath

Remove directories from 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 the current MATLAB search path. Use the full pathname for directory.

rmpath directory is the unquoted form of the syntax.

Examples

Remove /usr/local/matlab/mytools from the search path.

See Also

addpath, path, pathtool, rehash


  rmfield root object