W dniu 2014-01-07 14:07, René Donner pisze:
Hi,

you can use string interpolation:

for i = 1:10
   println("A$i.csv")
end

cheers,

rene



Am 07.01.2014 um 14:03 schrieb paul analyst <paul.anal...@mail.com>:

How to use the value of a variable to the file numbering?
I need 10 csv files with 10 random arrays ...A1, A2, ... A10

for i=1:10
A=rand(100,100);
writecsv("A(i)???.csv", A);
end;

Paul
It works, thx,
Paul

Reply via email to