SETPATH SETPATH Set Current Search Path

Usage

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.

@Example
The setpath function is straightforward.

--> getpath

ans = 
 
Columns 1 to 113

 /home/basu/dev/trunk/FreeMat2/src/toolbox/array:/home/basu/dev/trunk/FreeMat2/src/toolbox:/home/basu/dev/trunk/Fr
 
Columns 114 to 226

 eeMat2/src/toolbox/binary:/home/basu/dev/trunk/FreeMat2/src/toolbox/fitting:/home/basu/dev/trunk/FreeMat2/src/too
 
Columns 227 to 339

 lbox/func:/home/basu/dev/trunk/FreeMat2/src/toolbox/general:/home/basu/dev/trunk/FreeMat2/src/toolbox/geom:/home/
 
Columns 340 to 452

 basu/dev/trunk/FreeMat2/src/toolbox/graph:/home/basu/dev/trunk/FreeMat2/src/toolbox/help:/home/basu/dev/trunk/Fre
 
Columns 453 to 565

 eMat2/src/toolbox/io:/home/basu/dev/trunk/FreeMat2/src/toolbox/matrix:/home/basu/dev/trunk/FreeMat2/src/toolbox/m
 
Columns 566 to 678

 pi:/home/basu/dev/trunk/FreeMat2/src/toolbox/numerical:/home/basu/dev/trunk/FreeMat2/src/toolbox/os:/home/basu/de
 
Columns 679 to 791

 v/trunk/FreeMat2/src/toolbox/poly:/home/basu/dev/trunk/FreeMat2/src/toolbox/signal:/home/basu/dev/trunk/FreeMat2/
 
Columns 792 to 904

 src/toolbox/sparse:/home/basu/dev/trunk/FreeMat2/src/toolbox/stat:/home/basu/dev/trunk/FreeMat2/src/toolbox/strin
 
Columns 905 to 1017

 g:/home/basu/dev/trunk/FreeMat2/src/toolbox/time:/home/basu/dev/trunk/FreeMat2/src/toolbox/trig:
Print limit has been reached.  Use setprintlimit function to enable longer printouts
--> setpath('/usr/local/FreeMat/MFiles:/localhome/basu/MFiles')
--> getpath

ans = 

 /usr/local/FreeMat/MFiles:/localhome/basu/MFiles



