Comma separated data with text
Mostrar comentarios más antiguos
Hello,
I have a problem with making a .txt-file with both comma separated data and some text. I really hope some experts out there can help me.
I have the following data in MATLAB:
x=1:10.
These data have to be comma separated so I have looked at the commands csvwrite and dlmwrite. The problem is that I have to add some text in the exported .txt-file. An example of this is a .txt-file containing:
Hello 1,2,3,4,5,6,7,8,9,10 This is the data.
I hope this makes sense. And that someone can help me.
Hope to hear from you.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!