Overwriting a vector to a specific location into CSV file
1 次查看(过去 30 天)
显示 更早的评论
Hi MATLAB experts,
I have csv file here, and want to overwrite a vector in a specific column 'H' and row '4' ('H4') in the spreadsheet called 'sheet1' (while without deleting other data in the same tab). For example, I have a vector as follows:
m = {'a';'b';'c'}
Please teach me cool stuff!! Thanks for any help you can provide in advance.
Best Regards, Jake
0 个评论
采纳的回答
dpb
2015-7-14
If you have the spreadsheet 'Sheet1', use xlswrite. You can't do this directly in a .csv file without dealing with a lot of issues in a sequential file; the details of which if you have to ask it's more than you want to tackle (and that I want to explain again at the moment).
doc xlswrite
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!