MATLAB: Insert Values of a Matrix from row 2 using XLSWRITE

excelexport data to excel

Hi.
I am using LXSWRITE to export values of a matrix to Excel file. Suppose that I have a 5*20 matrix. I want Matlab write this matrix from row 2 (because I have an excel template and I don't want change first row of it in overwriting).
What should I do?
Thanks.

Best Answer

A = ones(5,20);
xlswrite('Workbook.xls',A,'Sheet1','A2')