Insert Values of a Matrix from row 2 using XLSWRITE

2 Ansichten (letzte 30 Tage)
Jack
Jack am 11 Jul. 2014
Beantwortet: C.J. Harris am 11 Jul. 2014
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by