Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to write cell arrays in Excel?

1 visualizzazione (ultimi 30 giorni)
gsourop
gsourop il 19 Apr 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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')

Risposte (1)

the cyclist
the cyclist il 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