Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to write cell arrays in Excel?

1 vue (au cours des 30 derniers jours)
gsourop
gsourop le 19 Avr 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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')

Réponses (1)

the cyclist
the cyclist le 19 Avr 2019
I use cellwrite from the File Exchange.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by