Insert Values of a Matrix from row 2 using XLSWRITE

5 vues (au cours des 30 derniers jours)
Jack
Jack le 11 Juil 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.

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by