|
FreeMat
|
Section: Operating System Functions
Changes the current FreeMat search path. The general syntax for its use is
setpath(y)
where y is a string containing a delimited list of directories to be searched for M files and libraries. The delimiter between the paths depends on the system being used. For Win32, the delimiter is a semicolon. For all other systems, the delimiter is a colon.
The setpath function is straightforward.
--> getpath
ans =
/usr/local/FreeMat/MFiles:/localhome/basu/MFiles
--> setpath('/usr/local/FreeMat/MFiles:/localhome/basu/MFiles')
--> getpath
ans =
/usr/local/FreeMat/MFiles:/localhome/basu/MFiles