I'm trying to export a lot of files at one time with a For-loop. I'm using ToString so I can number the output files. It's not working. Does anyone know how to export many files with one looping construct?
Eq[κ_] := Round[1/2 + 1/2 Cos[(2 π)/κ y t]]
κ1 = 128*5;
Mask3 = Table[Eq[κ1], {y, 30, 30 + 289}, {t, -100, 100}];
n = 200;
mine = Table[Partition[Table[Mask3[[i, j]], {i, 1, 17*17}], 17], {j, 1, n}];
movie = Table[Image[mine[[p]]], {p, 1, n}]
For[i = 1, i <= 3, i++,
Export["OLEDmovie" <> ToString[i] <> ".bmp", movie[[i]], {i, 1, 3}]]