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

조회 수: 1 (최근 30일)
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)

채택된 답변

Guillaume
Guillaume 2019년 6월 4일
편집: Guillaume 2019년 6월 4일
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개)

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by