xlswrite cell array of strings

Hi, I'm trying to write a vertical cell array of strings in Excel using the function xlswrite. When I run the code and open the Excel file, the first value of the cellstring is repeated in all the range and I don't know why. I'm using Matlab R2013a.
RSCUT = {'P01INF';'P01INF';'P01INF';'P01SUP';'P01SUP';'P01SUP'};
xlswrite('datos de entrada.xlsx',RSCUT,'Resultados','A5');

댓글 수: 1

Geoff Hayes
Geoff Hayes 2014년 10월 21일
David - I could not reproduce the above behaviour with R2013a or R2014a (there was no repetition of P01INF. What happens if you try the same code with a new (empty) Excel document, unlike the one that you have shown in the attached image?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2014년 10월 21일

댓글:

2014년 10월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by