Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to write cell arrays in Excel?

1 Ansicht (letzte 30 Tage)
gsourop
gsourop am 19 Apr. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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')

Antworten (1)

the cyclist
the cyclist am 19 Apr. 2019
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