xlswrite() to write to csv file not working

16 ビュー (過去 30 日間)
Mohamed Arshad Sheik Khaja Mohideen
Mohamed Arshad Sheik Khaja Mohideen 2021 年 5 月 30 日
編集済み: madhan ravi 2021 年 5 月 30 日
Hello,
I have a very large csv file and I need to edit the value at cell B2 of the csv file using matlab. However when I use xlswrite(), I get an error saying file not in excel format.
THe code I used:
xlswrite('myfile.csv',0,1,'B2')
Error i get : "Error using xlswrite (line 224)
File not in Microsoft Excel Format."
What I am doing wrong. Is there a workaround for this problem?
Thank You

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 5 月 30 日
編集済み: KALYAN ACHARJYA 2021 年 5 月 30 日
You are trying to save in CSV, Prefer this one

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by