xlswrite() to write to csv file not working

34 views (last 30 days)
Mohamed Arshad Sheik Khaja Mohideen
Edited: madhan ravi on 30 May 2021
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:
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




Community Treasure Hunt

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

Start Hunting!