How can I write the cell array to an excel
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 16 Jul. 2020
You are overwriting the same location in the same sheet of the same file each time.
Jonathan Babitsch
am 16 Jul. 2020
Walter Roberson
am 16 Jul. 2020
If they are numeric contents, then cell2mat() the cell to create a numeric array and writematrix() that.
Jonathan Babitsch
am 16 Jul. 2020
Walter Roberson
am 16 Jul. 2020
Transpose the array?
Jonathan Babitsch
am 17 Jul. 2020
Jonathan Babitsch
am 18 Jul. 2020
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 16 Jul. 2020
0 Stimmen
To write an cell array into xlfile, you can use xlsread, writetable.
1 Kommentar
Jonathan Babitsch
am 16 Jul. 2020
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!