Difference between revisions of "Odepkg"

From Octave
Jump to navigation Jump to search
(Fixing urlwrite line to save files inside of P_tmpdir, and adding the current pkg install error message to make this page more discoverable.)
m (Making error text appear in monospace.)
Line 5: Line 5:
 
If you attempt to install odepkg using pkg install -forge, you will get an error such as the following.
 
If you attempt to install odepkg using pkg install -forge, you will get an error such as the following.
  
<nowiki>error: get_forge_pkg: package not found: "odepkg".</nowiki>
+
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:
 
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:

Revision as of 02:20, 3 January 2018

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)