Setpath: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy |
imported>Jeremy |
||
Line 11: | Line 11: | ||
SETPATH will modify the MATLAB path to include the current directory and all sub-directories and will save the path to the pathdef.m file. | SETPATH will modify the MATLAB path to include the current directory and all sub-directories and will save the path to the pathdef.m file. | ||
If the optional input ''flag'' | If the optional input ''flag'' can be any of the following: | ||
:0 = only the current directory is added | |||
:1 = add the current directory and all sub-folders to the path top | |||
:2 = tries to move dems/help/uts to top of path. | |||
:3 = current folder and sub-folders are added BELOW any currently installed PLS_Toolbox folders. | |||
===See Also=== | ===See Also=== | ||
[[evriinstall]], [[evriuninstall]] | [[evriinstall]], [[evriuninstall]] |
Revision as of 16:10, 22 February 2013
Purpose
Modifies and saves current directory
Synopsis
- failure = setpath(flag)
Description
SETPATH will modify the MATLAB path to include the current directory and all sub-directories and will save the path to the pathdef.m file.
If the optional input flag can be any of the following:
- 0 = only the current directory is added
- 1 = add the current directory and all sub-folders to the path top
- 2 = tries to move dems/help/uts to top of path.
- 3 = current folder and sub-folders are added BELOW any currently installed PLS_Toolbox folders.