From Octave
Jump to: navigation, search

odepkg is part of the Octave Forge project. It contains additional functions for numerically solving ordinary differential equations.

The most recent official release is version 0.8.5, which however is out of date (it includes functions which have been transferred to core Octave) and will not install at all with recent compilers and versions of Octave.

If you attempt to install odepkg using pkg install -forge, you will get an error such as the following.

error: get_forge_pkg: package not found: "odepkg".

Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:

 [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "/odepkg.tar.gz"]);
 assert (success)
 pkg ("install", fname)

To install under the 4.3.0+ development version of Octave one can use the following instead:

 [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "/odepkg.tar.gz"]);
 assert (success)
 pkg ("install", fname)