How to export cell array to excel
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Shannon
el 4 de Feb. de 2020
Respondida: Bhaskar R
el 4 de Feb. de 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 comentarios
Respuesta aceptada
Bhaskar R
el 4 de Feb. de 2020
A = {'matlab' 'ver' num2str(12)}; % actually no need of number to string conversion
writecell(A, 'filemname.xlsx');
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Cell Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!