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