GNU Octave: Environment Variables

Next: Current Working Directory, Previous: Process ID Information, Up: System Utilities [Contents][Index]

### 36.7 Environment Variables

Built-in Function: getenv (var)

  Return the value of the environment variable var. For example,

      getenv ("PATH")

  returns a string containing the value of your path.

Built-in Function: putenv (var, value)
Built-in Function: setenv (var, value)

  Set the value of the environment variable var to value.