help-octave
[Top][All Lists]
Advanced

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

Re: Adding a directory to path


From: Francesco Potorti`
Subject: Re: Adding a directory to path
Date: Mon, 19 Feb 2007 19:42:07 +0100

>Alta de Waal wrote:
>> I still don't understand how to add a directory to the octave path.

>It depends on which version of octave you're using. [...]

I have this in ~/.octaverc

if (exist ("OCTAVE_VERSION") == 5)      # New:
  save_precision(5);
  page_screen_output(0);
  page_output_immediately(1);
  suppress_verbose_help_message(1);
  addpath(genpath("/home/pot/math/octavelib"));
else                                    # Old:
  save_precision= 5;
  page_screen_output = 0;
  page_output_immediately = 1;
  empty_list_elements_ok = 1;
  suppress_verbose_help_message = 1;
  LOADPATH="/home/pot/math/octavelib//:";
endif

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
Web: http://fly.isti.cnr.it/           Key:   fly.isti.cnr.it/public.key


reply via email to

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