FUNCTION REFERENCE

rmpath

Remove folders from the user search path.

Remove folders from the user search path.

Syntax

rmpath(folder1, ..., folderN)

Syntax

oldpath = rmpath(...)

Each argument may be a pathsep-separated list. A folder not on the path warns "<name>" not found in path.

Example

addpath(tempdir); rmpath(tempdir); isempty(path)   % 1

Differences from MATLAB: The path holds only user folders.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.