help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change default paths


From: Ben Abbott
Subject: Re: How to change default paths
Date: Thu, 21 Jan 2010 19:09:39 -0500

On Jan 21, 2010, at 6:57 PM, Tatsuro MATSUOKA wrote:

> 
> --- David Parman wrote:
> 
>> I am trying to run Octave on Windows XP. I had previously run QtOctave
>> (PortableApps version) and it worked Ok. Later I installed Octave 3.2.3 and
>> it also worked Ok. Now today for some reason Octave 3.2.3 has it in its head
>> that the default paths should point to a non-existent drive
>> (D:\qtoctave\...). I don't know how it got that way, I can't find any files
>> on my hard disk that have that path as text in them, and I can't find how to
>> set the default paths back to the right place on C. I tried
>> path(genpath(<path to my  Octave 3.2.3/.../share root>) but get error that
>> it can't find 'find'.
>> 
>> I tried re-installing Octave 3.2.3, still the same problem. I tried running
>> QtOctave and now it too comes up with the same non-existent path. How can I
>> fix this?
>> 
>> -- 
>> 
>> "The cost of a thing is the amount of life which is required to be exchanged
>> for it" -- Thoreau
> 
> Hello
> 
> It is possible that .octavetrc remains in your Home directory (folder) and 
> path setting might be done
> in it.
> 
> Please execute the following example
> 
> octave:15> tilde_expand('~')
> ans = D:\usr\Tatsu
> octave:16> dir D:\usr\Tatsu\.octaverc
> .octaverc
> octave:17> edit D:\usr\Tatsu\.octaverc
> 
> If '.octaverc' does not exit, I have no idea at the moment
> 
> *tilde_expand('~') reveals the HOME directory is your setting.
> According ans = (PATH name), you should modify the above. 
> 
> Regards
> 
> Tatsuro
> 


If that doesn't work, try ...

        restoredefaultpath
        savepath

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]