Hello,
Many thanks for that but it does not help a lot because although it creates the variables, I need to store them in an array with dimensions 1*12500.
Array=[R1 R2 R3 .... R12500]
In your example the answer is a single cell with R1R2R3R4...R12500 as a single value.