Insert Values of a Matrix from row 2 using XLSWRITE

3 visualizaciones (últimos 30 días)
Jack
Jack el 11 de Jul. de 2014
Respondida: C.J. Harris el 11 de Jul. de 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.

Respuesta aceptada

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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by