help-octave
[Top][All Lists]
Advanced

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

Re: Problem setting PATH environment


From: Andy Buckle
Subject: Re: Problem setting PATH environment
Date: Mon, 13 Aug 2012 09:47:45 +0100

On 13 August 2012 09:41, Jonathan <address@hidden> wrote:
> OK, entered:
> system ("cat ~/.octaverc")
> and found that the previous savepath had indeed worked correctly.  .octaverc
> contains:
>
> ## Begin savepath auto-created section, do not edit
>   addpath ('/Users/jonathan/dropbox', '-begin');
> ## End savepath auto-created section
> ans = 0
>
> I am now wondering if I misunderstood how PATH works in Octave.  I assumed
> that subdirectories of the named path (ie under dropbox in my case) would
> also be accessible, but perhaps I was wrong.  Apologies if so.
> Jonathan

to get subdirectories, you can do

addpath(genpath( blah ));

-- 
/* andy buckle */


reply via email to

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