How to use environment variables in the addpath command?

Ernest L. Williams Jr. ernesto at slac.stanford.edu
Thu May 1 01:13:26 CDT 2008


Hi,

How does one achieve the following in octave 3.0.1?


addpath("$MY_VAR/lib/$HELLO_WORLD")

I get the following error:
warning: addpath: $MY_VAR/lib/$HELLO_WORLD: No such file or directory



Thanks in advance,
Ernesto


More information about the Help-octave mailing list