scanpath(3m)

NAME
scanpath - Update Matlab path with a new search directory

SYNOPSIS
scanpath(dir, flag )

DESCRIPTION
Update the Matlab path variable to access the m-files in a new subdirectory. Because some of the additionnal commands may have the same name as those for editing profiles, the path to the CODAS edit m-files is removed.

PARAMETERS

dir optional
    String containing the directory to add or remove from the Matlab search path. Default is the current directory. The value of CODASHOME directory is automatically prefixed to the given string.

flag optional
    Flag defining which action to perform: 0 will remove the specified directory,1 will insert it. Default is 1.

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999