Database package
Jump to navigation
Jump to search
Octave Forge
Official GNU/Octave Forge Database package supports only Postgres
3rd Party
On github/gitlab are several open source projects which supports different open source database solutions for GNU/Octave.
- sqlite
- mex-sqlite3 – An extension for MATLAB® or GNU/octave to access sqlite3 databases
- octave-sqlite - sqlite3 wrapper as an .oct file for GNU/Octave
- redis
- go-redis - mex file extension for GNU/Octave to access Redis
- MariaDB / MySQL
- mex-mariadb - mex file extension for GNU/Octave to access MariaDB
Installation
Requires octave struct. In ubuntu/debian based systems this is handled with
apt install octave-struct
Next octave command line:
>> pkg install -forge database
Packages are compiled. Monitor process with top.
Usage
Load it before any usage:
>> pkg load database