How to write to a cell matrix into csv
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Kanakaiah Jakkula
el 7 de En. de 2016
Comentada: Walter Roberson
el 10 de En. de 2016
Hi,
I have a cell matrix (contains numeric values and text). My first row is the column headings. When I write to csv file using "csvwrite" or "xlxwrite", part of first row headings are missing (just empty). Please suggest me how to overcome this.
Sincerely, Mekala
2 comentarios
Renato Agurto
el 7 de En. de 2016
Can you post your cell (or enough of it to reproduce your problem) and the command you are typing to save it?
Respuesta aceptada
Walter Roberson
el 9 de En. de 2016
2 comentarios
Walter Roberson
el 10 de En. de 2016
You cannot do it using csvwrite(). csvwrite() cannot write strings. dlmwrite() cannot write strings. You need to fopen/fprintf/fwrite. Or if you have MS Windows and Excel installed then you can xlswrite() while requesting a .csv file as output.
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!