help-octave
[Top][All Lists]
Advanced

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

Re: lsode problem


From: marco atzeri
Subject: Re: lsode problem
Date: Fri, 07 Sep 2012 09:12:16 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0

On 9/7/2012 7:43 AM, sassir wrote:
Ok, both of you are right. I tried to shorten the original code as much as
possible, so i have put in some mistakes and other errors and yes i tried
diffrent ways to define a time interval.
So now i have changed the file and hopefuly cleared all built-in mistakes
;), but i still get some error messages:

error: `T2' undefined near line 20 column 14
error: called from:
error:   /home/chaffai/octave/f.m at line 20, column 6

I see T2 defined, but you have Tamb and T_amb
Is your editor fooling you ?


the new file is attached below as i have no idea how to change or edit my
1st. comment :( (maybe because the stopped java-script here at my office?)

may I suggest a normal text editor for that ?
Any text editor is fine also notepad could work.


Btw i got an advice to create two m-files one including only the function f
and it's definition and one to call lsode is that really necessary?

not necessary


http://octave.1599824.n4.nabble.com/file/n4643846/f.m f.m
as mentioned ...

octave:1> source f.m
error: `Tamb' undefined near line 19 column 23
error: called from:
error:   f at line 19, column 6
error: lsode: evaluation of user-supplied function failed
error: lsode: inconsistent sizes for state and derivative vectors
error:   /home/marco/f.m at line 28, column 2




reply via email to

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