필터 지우기
필터 지우기

Overwriting a vector to a specific location into CSV file

조회 수: 1 (최근 30일)
Jake
Jake 2015년 7월 14일
댓글: Jake 2015년 7월 14일
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

채택된 답변

dpb
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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by