|
I am trying to add a path to the default "LOADPATH" using the system-wide
octaverc file(s). My system is linux 2.2.5 based intel running octave 2.0.14. I have tried to add an additional directory into the load path so that the epstk16 m files are available on startup of octave. I placed the following: LOADPATH = ":/usr/local/share/octave/site/m//" in both /usr/local/share/octave/2.0.13/m/startup/octaverc and /usr/local/share/octave/site/m/startup/octaverc If I manually invoke this command while in octave, it changes the LOADPATH and all proceeds normally. If I try to do it using octaverc, no change is effected in the LOADPATH? What am I doing wrong? ---------------------------------------------------------------- John M. Trostel [hidden email] GTRI / EOEML / URPO _ Georgia Institute of Technology / \ ASCII Ribbon Atlanta, GA USA \ / Campaign Against X HTML Mail / \ --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html --------------------------------------------------------------------- |
|
---Reply to mail from John M. Trostel about Difficulty adding a path with octaverc John M. Trostel [hidden email] > I am trying to add a path to the default "LOADPATH" using the system-wide > octaverc file(s). > > My system is linux 2.2.5 based intel running octave 2.0.14. I have tried to > add an additional directory into the load path so that the epstk16 m files are > available on startup of octave. > > I placed the following: > > LOADPATH = ":/usr/local/share/octave/site/m//" > > in both > > /usr/local/share/octave/2.0.13/m/startup/octaverc > and > /usr/local/share/octave/site/m/startup/octaverc > > If I manually invoke this command while in octave, it changes the LOADPATH and > all proceeds normally. If I try to do it using octaverc, no change is effected > in the LOADPATH? > > What am I doing wrong? Never mind... I had a mixed up version conflict with parts of both 2.0.13 and 2.0.14 present. When I cleaned up and reinstalled, the LOADPATH comes out right by adding LOADPATH = ":/usr/share/octave/site/m//" to /usr/share/octave/site/m/startup/ocatverc (as it should...) ---End reply ------------------------------------------------------------------------- John M. Trostel [hidden email] GTRI / EOEML / URPO _ Georgia Institute of Technology / \ ASCII Ribbon Atlanta, GA USA \ / Campaign Against X HTML Mail / \ --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html --------------------------------------------------------------------- |
| Powered by Nabble | Edit this page |
