addpath
- :
oldpath =addpath(dir1, …)¶ - :
oldpath =addpath(dir1, …, "-end")¶ - :
oldpath =addpath(dir1, …, "-begin")¶ - :
oldpath =addpath(dir1, …, option)¶ Add directories to the function search path.
By default the directories are placed in front of the existing entries, directly behind the working directory entry which always stays first. The last argument may be
"-end"(or 1) to append instead, or"-begin"(or 0) for the default. Each argument may itself list several directories separated bypathsep. A directory that is already on the path is moved to the new position. The previous path is returned if an output is requested.