searchsourcepath¶
Purpose¶
Searches the source path and (if specified) the src subdirectory of the GAUSS installation directory for a specified file.
Format¶
-
fpath =
searchsourcepath(fname, srcdir)¶ Parameters: - fname (string) – name of file to search for.
- srcdir (scalar) – one of the following:
0 do not search in the src subdirectory of the GAUSS installation directory. 1 search the src subdirectory first. 2 search the src subdirectory last. Returns: fpath (string) – the path of fname, or null string if fname is not found.
Remarks¶
The source path is set by the src_path configuration variable in your
GAUSS configuration file, gauss.cfg.