nunca13
nunca13

Reputation: 1

Installing odepkg in Octave

I downloaded odepkg package from the internet. I saved it in the same folder as Octave GUI, like this:

Octave folders

I tried following the instructions but I don't know which file to use. I can't find any .gz file, as in example. pkg install odepkg returns warning: file odepkg does not exist

I'm really sorry if this is a stupid question but I still hope you can help me... Any general advice on how to handle similar problems is also appreciated. I'm a newbie in programming/numerical computation and would love to learn, but there are some basics, like the one I'm asking about, that I can't find info on.

After following the second method: After following the second method (if I understood it correctly)

Upvotes: 0

Views: 4193

Answers (1)

lostbard
lostbard

Reputation: 5220

try:

 pkg install -forge odepkg

If that doesn't work download the .tar.gz package file from octave forge. https://octave.sourceforge.io/download.php?package=odepkg-0.8.5.tar.gz

And save the file somewhere and in octave (for example c:\octave), In octave, CD to the directorywhere you saved the file (if it isn't the directory octave is currently showing):

cd 'c:\octave\'

then run:

pkg install odepkg-0.8.5.tar.gz

After installing the package, don't forget to load the package before using its functions:

pkg load odepkg

Upvotes: 5

Related Questions