Navigation

Operators and Keywords

Function List:

C++ API

: val = pathdef ()

Return the default path for Octave.

The path information is extracted from one of four sources. The possible sources, in order of preference, are:

  1. .octaverc
  2. ~/.octaverc
  3. <OCTAVE_HOME>/…/<version>/m/startup/octaverc
  4. Octave’s path prior to changes by any octaverc file.

See also: path, addpath, rmpath, genpath, savepath.

Package: octave