rmpath

August 12th, 2009 Posted in Functions

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

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

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

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

See also addpath, , rehash

Related posts

Leave a Reply

You must be logged in to post a comment.