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 89

 /home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/array:/home/basu/dev/branches/3.
 
Columns 90 to 178

 6-release/FreeMat2/src/toolbox:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/b
 
Columns 179 to 267

 inary:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/fitting:/home/basu/dev/bra
 
Columns 268 to 356

 nches/3.6-release/FreeMat2/src/toolbox/func:/home/basu/dev/branches/3.6-release/FreeMat2/
 
Columns 357 to 445

 src/toolbox/funfun:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/general:/home
 
Columns 446 to 534

 /basu/dev/branches/3.6-release/FreeMat2/src/toolbox/geom:/home/basu/dev/branches/3.6-rele
 
Columns 535 to 623

 ase/FreeMat2/src/toolbox/graph:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/h
 
Columns 624 to 712

 elp:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/io:/home/basu/dev/branches/3
 
Columns 713 to 801

 .6-release/FreeMat2/src/toolbox/matrix:/home/basu/dev/branches/3.6-release/FreeMat2/src/t
 
Columns 802 to 890

 oolbox/mpi:/home/basu/dev/branches/3.6-release/FreeMat2/src/toolbox/numerical:/home/basu/
 
Columns 891 to 979

 dev/branches/3.6-release/FreeMat2/src/toolbox/os:/home/basu/dev/branches/3.6-release/Free
 
Columns 980 to 1068

 Mat2/src/toolbox/poly
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

--> 
quit

