help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ode45 function in package odepkg


From: Tatsuro MATSUOKA
Subject: Re: ode45 function in package odepkg
Date: Tue, 11 Dec 2018 15:49:09 +0900 (JST)

----- 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]