• Uncategorised

rmpath

rmpath Remove directory from search path.
rmpath DIRNAME removes the specified directory from the
current matlabpath.

rmpath DIR1 DIR2 DIR3 removes all the specified directories
from the path.

Use the functional form of RMPATH, such as rmpath(‘dir1′,’dir2’,…),
when the directory specification is stored in a string.

Examples

        rmpath c:\matlab\work
        rmpath /home/user/matlab

See also addpath, path, rehash

You may also like...