Sometime when a column or a row of data is too long, you can't copy it from MATLAB and then paste directly into an Excel file. A much simpler way to do this is to use the xlswrite function. Just add a line at the end of your code:
xlswrite ('FileName.xls', VariableName)
If you want to put the data into sheet2 in the file, one more input argument is needed:
xlswrite ('FileName.xls', VariableName, 2)
Pretty easy, right?