How to edit a text file using MATLAB?
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!