Setpath: Difference between revisions
Jump to navigation
Jump to search
imported>Scott |
imported>Jeremy |
||
Line 5: | Line 5: | ||
===Synopsis=== | ===Synopsis=== | ||
:setpath(''flag'') | :failure = setpath(''flag'') | ||
===Description=== | ===Description=== |
Revision as of 16:08, 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 i s set to 0 then only the current directory is saved (i.e. sub-directories are ignored).