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