help-octave
[Top][All Lists]
Advanced

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

Re: Variable names


From: Thomas Weber
Subject: Re: Variable names
Date: Thu, 19 Jun 2008 07:23:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On 18/06/08 16:49 -0700, asha g wrote:
> I am trouble shooting my program and was wondering if the fact that I
> have variables named vinf, minf etc were confusing the program. At one
> pt when I ran it in Matlab I did get an error message saying warning:
> division by zero even though the program does not have this.

That doesn't mean much, this can very well happen in one of the core (=
shipped with the product) functions. If the behaviour is repeatable,
disp() and keyboard() are your friends:

disp(i) in a "for i=..." loop will tell you where you are and keyboard()
can help you inspect your values.

        Thomas


reply via email to

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