[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ode45 function in package odepkg
From: |
Ether Jones |
Subject: |
Re: ode45 function in package odepkg |
Date: |
Tue, 11 Dec 2018 19:32:07 -0600 (CST) |
tmacchant wrote
> ----- Original Message -----
>
>> From: Ether Jones
>> To: help-octave
>> Date: 2018/12/11, Tue 13:29
>> Subject: ode45 function in package odepkg
>>
>> Please, how to install odepkg package so I can access ode45() function?
>>
>> On Octave 3.6.4 running on Windows, I get the following error message:
>>
>> GNU Octave, version 3.6.4
>> Copyright (C) 2013 John W. Eaton and others.
>> Octave was configured for "i686-pc-mingw32".
>>
>> octave-3.6.4.exe:1> clear all;
>> octave-3.6.4.exe:2>
>> octave-3.6.4.exe:2> fvdp = @(t,y) [y(2); (1 - y(1)^2) * y(2) - y(1)]
>> fvdp =
>> @(t, y) [y(2); (1 - y(1) ^ 2) * y(2) - y(1)]
>>
>> octave-3.6.4.exe:3> [t,y] = ode45 (fvdp, [0, 20], [2, 0])
>>
>> warning: Octave provides lsode for solving differential equations. For
>> more
>> information try `help lsode'. Matlab-compatible ODE functions are
>> provided by the odepkg package. See
>> `http://octave.sourceforge.net/odepkg/'.
>>
>> Please read `http://www.octave.org/missing.html' to learn how you can
>> contribute missing functionality.
>>
>> error: 'ode45' undefined near line 3 column 10
>> octave-3.6.4.exe:3>
>>
>> If I type pck install -forge odepkg I get this error message:
>>
>> octave-3.6.4.exe:4> pkg install -forge odepkg
>> error: get_forge_pkg: could not read URL, please verify internet
>> connection
>> error: called from:
>> error:
>> K:\OctaveVS\share\octave\3.6.4\m\pkg\private\get_forge_pkg.m
>> at
>> line 77
>> , column 7
>> error: K:\OctaveVS\share\octave\3.6.4\m\pkg\pkg.m
>> at line 2414, column 15
>> error: K:\OctaveVS\share\octave\3.6.4\m\pkg\pkg.m
>> at line 374, column 32
>> octave-3.6.4.exe:4>
>>
> Octave 3.6.4 is obsoleted.
>
> Please use the latest version (octave-4.4.1)
> Octave 4.4.1 support ode45 as a core function
>
> For install see
> http://wiki.octave.org/Octave_for_Microsoft_Windows
>
>
> Tatsuro
Seven Things:
1) Thank you for taking the time to reply.
2) I was aware of Octave 4.4.1 and its built-in support for ode45
3) Octave 4.4.1 does not install properly on my older desktop. I get an
error about a non-existing entry point in a DLL
4) My existing older version, Octave 3.6.4, has worked beautifully for
years. But now I want to use ode45 for some problems I am studying.
5) The installation folder for my present installation of 3.6.4 has ode45.m
in it:
K:\OctaveVS\share\octave\packages\odepkg-0.8.4\ode45.m
6) If the 3.6.4 installer put the odepkg-0.8.4 in the installation folder, I
assume it's there for a reason.
7) Can someone tell me how to access it?
Thank you.
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html