-
Notifications
You must be signed in to change notification settings - Fork 0
/
.octaverc
49 lines (37 loc) · 1.74 KB
/
.octaverc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
source('Setup.m')
pkg load struct
pkg load statistics
pkg load tablicious
pkg load optim
pkg load statistics-bootstrap
pkg load financial
# pkg load nan # may be needed or useful
# # If for some reason Setup.m is not sourced or is not working, this roughly replicates it:
# addpath(genpath(pwd()));
# rmpath([pwd() filesep ".git"]);
# rmpath([pwd() filesep "toolbox/+baseflow"]);
# # Adding these back might be necessary on octave due to a bug in package namespace private folders
# addpath(pwd() filesep "toolbox/+baseflow/private"]);
# addpath(pwd() filesep "toolbox/+baseflow/+internal/private"]);
# To install octave:
# MacOS: brew install octave
# Windows: choco install octave or download
# Linux: Flatpak
# To install the required packages, use the following on MacOS:
# pkg install -forge struct
# pkg install -forge statistics
# pkg install -verbose -forge tablicious
# pkg install -forge optim
# pkg install "https://github.com/gnu-octave/statistics-bootstrap/archive/refs/heads/master.zip"
# To see which packages are installed:
# pkg list
# On Linux use your package manager to install Octave packages:
# apt-get install octave-statistics
# Or download, compile and install packages in Octave:
# pkg install -forge statistics
# pkg install -forge io
# On Windows all packages are normally installed with Octave. Consult the Octave documentation for more information.
# For help with windows installation see [octave beginner's guide](http://calliope.dem.uniud.it/CLASS/ING-AMB/2018/GNU-Octave-for-beginners.pdf).
# Enable the Octave:language-extension warning if you want to be told about writing code that works in Octave but not MATLAB:
# warning("on", "Octave:language-extension")
# check this for building docs: https://github.com/gnu-octave/pkg-octave-doc