1 # Run this only if the package is installed
2 ## PKG_ADD: if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
3 ## PKG_ADD: dirlist= {"Utilities","DDG","DDN"};
4 ## PKG_ADD: for ii=1:length(dirlist)
5 ## PKG_ADD: addpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
9 # Run this only if the package is installed
10 ## PKG_DEL: if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
11 ## PKG_DEL: dirlist= {"Utilities","DDG","DDN"};
12 ## PKG_DEL: for ii=1:length(dirlist)
13 ## PKG_DEL: rmpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])