[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octaverc and version in path?
From: |
Dushan Mitrovich |
Subject: |
Re: octaverc and version in path? |
Date: |
Sat, 29 Dec 2007 12:48:33 -0700 |
User-agent: |
VSoup v1.2.9.48Beta [OS/2] |
Thomas Treichl <address@hidden> wrote:
> Ben Abbott schrieb:
>> There has been a discussion on the help list regarding ".octaverc" and
>> the version specific path structure.
>>
>>
>> http://www.nabble.com/path-3A-octave-3.0.0-can-27t-find-itself-to14506843.html
>>
>>
>> Below is an example of the contents of .octaverc taken from an install
>> of Octave 3.0.0 on Mac OS X.
>>
>> Begin forwarded message:
>>
>>> ## Begin savepath auto-created section, do not edit
>>> path ('.:
>>> /Users/dushanm/Octave:
><SNIP .octavrc file>
>
>Dushan,
>
> I had a look at it. If Octave.app starts up then there is a very similar
> path setting than you do manually in your .octaverc file. However, with
> the 'path' command you are overwriting the complete path variable that
> was set up before or while startup. Therefore a solution for your
> problem is to have something like the following code as your .octaverc
> file:
>
> ## .octaverc starts here
> addpath (genpath ('/Users/dushanm/Octave'));
> ## end of .octaverc file
>
> The only line of code that is evaluated here "adds" the folder
> '/Users/dushanm/Octave' and all subfolders within '/Users/dushanm/Octave'
> to your path setting (and does not overwrite the other path setting that
> was made before). This is all that you need, if not then please let us
> know once again.
Thomas,
Well, that's certainly simple enough - a lot simpler than the original
one I had :) I'll test it...
... and it seems to work just fine. Thank you.
- Dushan
- octaverc and version in path?, Ben Abbott, 2007/12/28
- Re: octaverc and version in path?, Daniel J Sebald, 2007/12/28
- Re: octaverc and version in path?, Thomas Treichl, 2007/12/29
- Re: octaverc and version in path?,
Dushan Mitrovich <=
- Message not available
- Message not available
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Thomas Treichl, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, John W. Eaton, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30