1
### System-wide startup file for Octave.
3
### This file should contain any commands that should be executed each
4
### time Octave starts for every user at this site.
6
### On a Debian GNU/Linux system, Octave also searches for local files and
7
### directories below /usr/local/share/octave/site-m/. Please see the Octave
8
### documentation for other variables you might want to set here.
11
LOADPATH = [ ":/usr/local/share/octave/site-m//", LOADPATH ];
15
### Use new style of path generation
17
addpath (genpath ("/usr/local/share/octave/site-m"), "-begin");
19
### We use a function below to avoid polutting the user space with ###
20
### Debian start-up specific variables. Also, the function itself is
21
### cleared after being called.
23
function debian_remove_octave_forge
24
p = split (path (), ":");
26
if ! isempty (findstr (p (i, :), "octave-forge"))
27
rmpath (deblank (p (i, :)));
32
debian_remove_octave_forge ();
34
clear debian_remove_octave_forge;