help-octave
[Top][All Lists]
Advanced

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

Re: ode23


From: Carlo De Falco
Subject: Re: ode23
Date: Thu, 6 Dec 2018 06:04:12 +0000

Hi, 

Please don't use "top posting", 
put your answers below the questions
so that the whole discussion becomes 
more readable for someone else joinng
the discussion later or reading it in
the archives

>> > On 5 Dec 2018, at 09:47, mochzeen <address@hidden> wrote:
>> > 
>> > Hi,
>> > 
>> > I have installed the latest Octave 4.4.1 which includes ode23. When I tried
>> > my old ode example code which worked previously, it gave me an error of
>> > 
>> > error: structure has no member 'OutputSave'
>> > error: called from
>> >    ode23 at line 166 column 3
>> > 
>> > My code is vdpol.m
>> > trange=[0 0.5];
>> > x0=[1;0];
>> > ode23(@myproblemm,trange,x0)
>> > 
>> > with myproblemm.m
>> > function dxdt=myproblemm(t,x)
>> > dx1dt=x(2);
>> > dx2dt=5-3*x(2)-x(1);
>> > dxdt=[dx1dt; dx2dt];
>> > 
>> > I Googled the error message but no luck. Please help.
>> 
>> 

>> On Wed, 5 Dec 2018, 21:33 Carlo De Falco <address@hidden wrote:
>> Hi,
>> 
>> I cannot reproduce your issue, your example works for me with no error ...
>> 
>> Are you using ode23 form odepkg or the built-in implementation?
>> What do you see if you type "pkg list, which ode23"?
>> 
>> c.

> On 6 Dec 2018, at 04:54, Mohsin Mohd Sies <address@hidden> wrote:
> 
> It's from the standard Octave package. I didn't install odepkg. Should I be 
> using it instead? That would be a little bit uncool in terms of the better, 
> upgraded standard Octave 

> On 6 Dec 2018, at 04:58, Mohsin Mohd Sies <address@hidden> wrote:
> 
> Hmmm, on second look, it seems that it is under odepkg which is now bundled 
> with the standard Octave? Am I correct? 

Instead of guessing, could you please just type the command suggested above :

pkg list, which ode23

then paste the results in this discussion?

The point here is that I don't see the same results as
you reported in your initial message, neither I nor anyone
else can help you with that error until we see the same error
occurring on our installation so that we can investigate
why it is happening.

c.




reply via email to

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