help-octave
[Top][All Lists]
Advanced

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

Loop variables


From: CdeMills
Subject: Loop variables
Date: Wed, 18 Apr 2012 09:31:31 -0700 (PDT)

I have a very complex script looping on a number of data files, with a lot of
internal variables. Due to the way non-existing variables are created when
first referenced, it is difficult to spot places where leftover of previous
iterations may remain, in particular when using vectors. Sometimes, only
values  at index 1:m are set, while values at index 1:n were set and used in
previous iterations, with m < n. This way, values at index m+1:n are
irrelevant to the currently processed values. Is there some way to detect
automatically created variables ? Is it f.i. possible to disable this
feature temporary, or just in a script, in order to find every variables
which should be reset at each iteration ?

Regards

Pascal

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Loop-variables-tp4568235p4568235.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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