Odepkg

From Octave
Revision as of 09:20, 3 January 2018 by Sffc (talk | contribs) (Making error text appear in monospace.)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)