How can I write the cell array to an excel
Afficher commentaires plus anciens
Hey everybody,
How can I write my cell array to an excel file?
It is a cell array of the dimension 1*101.
I also attached the code, it is pretty simple. What I am trying to do is write the cell Array P to an excel file.
Thanks a lot in advance,
Johnny
7 commentaires
Walter Roberson
le 16 Juil 2020
You are overwriting the same location in the same sheet of the same file each time.
Jonathan Babitsch
le 16 Juil 2020
Walter Roberson
le 16 Juil 2020
If they are numeric contents, then cell2mat() the cell to create a numeric array and writematrix() that.
Jonathan Babitsch
le 16 Juil 2020
Walter Roberson
le 16 Juil 2020
Transpose the array?
Jonathan Babitsch
le 17 Juil 2020
Jonathan Babitsch
le 18 Juil 2020
Réponse acceptée
Plus de réponses (1)
KSSV
le 16 Juil 2020
0 votes
To write an cell array into xlfile, you can use xlsread, writetable.
1 commentaire
Jonathan Babitsch
le 16 Juil 2020
Catégories
En savoir plus sur Data Import from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!