Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rmpath

Remove directory from search path.

Syntax

  • rmpath(dirname)
  • previouspaths = rmpath(dirname)

Input argument

  • dirname - name of directory to remove

Output argument

  • previouspaths - a string: path prior to removing the specified paths

Description

rmpath removes directory from search path.

Example

path
addpath(tempdir())
path
rmpath(tempdir())
path

See also

path, addpath.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET