GETPATH Get Current Search Path

Section: Operating System Functions

Usage

Returns a string containing the current FreeMat search path. The general syntax for its use is
  y = getpath

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 getpath function is straightforward.
--> getpath
ans = 
  <string>  - size: [1 923]
 /home/basu/dev/trunk/FreeMat2/toolbox:/home/basu/dev/trunk/FreeMat2/toolbox/arra
 y:/home/basu/dev/trunk/FreeMat2/toolbox/binary:/home/basu/dev/trunk/FreeMat2/too
 lbox/deprecated:/home/basu/dev/trunk/FreeMat2/toolbox/fitting:/home/basu/dev/tru
 nk/FreeMat2/toolbox/general:/home/basu/dev/trunk/FreeMat2/toolbox/geom:/home/bas
 u/dev/trunk/FreeMat2/toolbox/graph:/home/basu/dev/trunk/FreeMat2/toolbox/help:/h
 ome/basu/dev/trunk/FreeMat2/toolbox/io:/home/basu/dev/trunk/FreeMat2/toolbox/mat
 rix:/home/basu/dev/trunk/FreeMat2/toolbox/mpi:/home/basu/dev/trunk/FreeMat2/tool
 box/numerical:/home/basu/dev/trunk/FreeMat2/toolbox/poly:/home/basu/dev/trunk/Fr
 eeMat2/toolbox/signal:/home/basu/dev/trunk/FreeMat2/toolbox/sparse:/home/basu/de
 v/trunk/FreeMat2/toolbox/stat:/home/basu/dev/trunk/FreeMat2/toolbox/string:/home
 /basu/dev/trunk/FreeMat2/toolbox/time:/home/basu/dev/trunk/FreeMat2/toolbox/trig
 :/home/basu/dev/trunk/FreeMat2/toolbox/util