help-octave
[Top][All Lists]
Advanced

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

Re: division by zero


From: Olaf Till
Subject: Re: division by zero
Date: Wed, 9 Dec 2009 11:03:19 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Dec 09, 2009 at 10:21:19AM +0100, Matthias Dodt wrote:
> Hi there!
> 
> I got a big matlab implementation which i am trying to port to octave. 
> At several stages octave reports:
> 
> warning: division by zero
> 
> I would like to know the line where this division occurs- 

>From within Octave, simply set:

debug_on_warning (1);

to get a debugging prompt (and an indication of the current position)
at each warning. (If you are ready, turn this behavior off with
"debug_on_warning (0);").

Regards, Olaf


reply via email to

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