[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lsode problems
From: |
Tatsuro MATSUOKA |
Subject: |
Re: lsode problems |
Date: |
Mon, 25 Jul 2016 09:53:27 +0900 (JST) |
----- Original Message -----
> From: CarlB
> To: help-octave\
> Cc:
> Date: 2016/7/25, Mon 08:17
> Subject: Re: lsode problems
>
>T hanks for the help, I fixed the if statement structure. Now I receive the
> error:
>
> M_5 at line 16 column 6
> LSODE-- REPEATED CALLS WITH ISTATE = 1 AND TOUT = T (=R1)
> In above message, R1 = 0.0000000000000D+00
> LSODE-- RUN ABORTED.. APPARENT INFINITE LOOP
> error: lsode: exception encountered in Fortran subroutine dlsode_
I did not see the above error.
Execution of script gives (the same as that by Thomas):
(octave 4.0.3 on windows)
z =
0 1
0 1
t = 1
I suspect that your handling script m file and fucntion m are something wrong.
BTW
& gives waring. && gives no waring
elseif ((0 < t) && (t <= .4))
Tatsuro