How to add both a comma AND a carriage return to a file during export
5 次查看(过去 30 天)
显示 更早的评论
I would like to export a file of a vector like: xlswrite(filename,M) or csvwrite(filename,M)
Where M is a vector.
I would like the text file to look like:
1000,
2000,
3000,
...
etc.
Basically I would like to make the file with both a comma then a carriage return. I tried dlmwrite but you can only do one delimiter.
Any help would be appreciated.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!