Login  Register

macro creating n variables within a loop

Posted by Tenorio on May 12, 2014; 10:42am
URL: http://imagej.273.s1.nabble.com/macro-creating-n-variables-within-a-loop-tp5007692.html

Dear all,
I am trying to create variables automatically inside of a loop (sample1=1, sample2=2, sample3=3, ... sample x=x , like you can do in matlab with the sentence sample{x} = x), but I couldn't find the right code to do it in ImageJ.

Any help would be greatly appreciated,

Thanks in advance,

Tenorio.