How to export cell array to excel
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shannon
am 4 Feb. 2020
Beantwortet: Bhaskar R
am 4 Feb. 2020
I have a cell array, A = {'matlab' 'ver' 12},
When I export it to excel file, number 12 is text type, how to change the type to number instead of text?
Thanks,
Shannon
0 Kommentare
Akzeptierte Antwort
Bhaskar R
am 4 Feb. 2020
A = {'matlab' 'ver' num2str(12)}; % actually no need of number to string conversion
writecell(A, 'filemname.xlsx');
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!