appending data to CSV file with write matrix since dlmwrite is not recommended?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Anne Bennett
el 4 de Jun. de 2019
With dlmwrite you can append data to an existing file. Does writematrix have that capability? or will it? (not listed in documentation for writematrix, but dlmwrite is flagged as not recommended)
0 comentarios
Respuesta aceptada
Guillaume
el 4 de Jun. de 2019
Editada: Guillaume
el 4 de Jun. de 2019
No idea if writematrix will support it in the future (certainly that would be nice) but currently, no, you can't append to a file and you'll have to continue using dlmwrite.
writematrix is recommended over dlmwrite as it unifies writing to text and excel files. It focuses on the task (export data) rather than the file format. It's unlikely that support for dlmwrite (and xlswrite) is going to be dropped any time soon.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Text Files 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!