How to edit a text file using MATLAB?
Show older comments
Hello,
I have a text file that is in the following form:
"1981-02-01",15.3
"1981-02-02",18.8
"1981-02-03",21.9
"1981-02-04",19.9
I want to edit these two line and make it like as shown below:
1 15.3
2 18.8
3 21.9
4 19.9
I am looking for a MATLAB function that does this automatically without having to change my file manually because the original file contains 500 lines.
thank you
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!