Insert Values of a Matrix from row 2 using XLSWRITE

2 views (last 30 days)
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.

Accepted Answer

C.J. Harris
C.J. Harris on 11 Jul 2014
A = ones(5,20);
xlswrite('Workbook.xls',A,'Sheet1','A2')

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!