[mac] permanently adding load path

Ben Abbott bpabbott at mac.com
Sat Mar 22 11:31:54 CDT 2008


On Mar 22, 2008, at 11:34 AM, Michael Goffioul wrote:
>
> On Sat, Mar 22, 2008 at 4:21 PM, Malte Köster
> <m.koester at jacobs-university.de> wrote:
>>
>> hi guys,
>> it's a quite simple question but I couldn't find any help in google.
>> I want to add a directory where octave shall look for function files.
>> I used the 'addpath' command, but this works just temporarily until  
>> i exit
>> octave.
>> How can I add a path permanently?
>> cheers,
>> malte
>> _____________
>
> Put the addpath command into your ~/.octaverc file.
>
> Michael.
>


You can add save your path to ~/.octavrc with

	savepath;

or

	savepath ("~/.octaverc");

Ben





More information about the Help-octave mailing list