Thank you IRstuff and Asixth, that will be very helpful.
Here is my code, I forgot to say that I am trying to Augment many files of different sizes togther to make one Mx1 matrix. the files range in size from 5 to 21 in length. this is the part of my code that does not work:
OX(ma:m,1) =...