PAYMAN RAJAI wrote:
Thank you Werner, as you mentioned the issue is probably from reading a large number of inputs .
No, its not the number of input files. But the more calculations you make, the greater is the probability that a (hidden) error shows up.
what do you mean by "initialize the matrix " ? How can I remove this issue?
I am in the dark, I have no idea what you are doing as you don't attach a sheet. I don't know how you read your data, which data structure you use, who you accomplish the iteration over your many Excel data sheets, etc.
If you have a 3x3 matrix M and you assign four values M[0,0 to M[1,1, it will still be a 3x3 matrix. If you set M to a scalar, e.g. M:=0, before you assign the four values, you get a 2x2 matrix.