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 <[email protected]>:
> 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
