appending data to CSV file with write matrix since dlmwrite is not recommended?

1 vue (au cours des 30 derniers jours)
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)

Réponse acceptée

Guillaume
Guillaume le 4 Juin 2019
Modifié(e) : Guillaume le 4 Juin 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.

Plus de réponses (0)

Produits


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by