Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to write cell arrays in Excel?

조회 수: 1 (최근 30일)
gsourop
gsourop 2019년 4월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi everyone,
I am trying to write a cell array in Excel but I don't get any results. The code I have prepared is below:
A = randn(10,1);
for i = 1 : 10
cell_x = sprintf('%.2f%s', A(i), '**');
Table{i} = cells_x;
end
xlswrite('Results',Table,'Test','b2')

답변 (1개)

the cyclist
the cyclist 2019년 4월 19일
I use cellwrite from the File Exchange.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by