txt file to csv file

77 次查看(过去 30 天)
huda nawaf
huda nawaf 2012-6-24
HI,
I have txt file :
11 2
11 4
3 2
5 6
5 7
5 8
I want this file be
11,2
11,4
3,2
5,6
etc.
I know there is somthing relate with csv, but dont know how to use it
thanks

采纳的回答

Walter Roberson
Walter Roberson 2012-6-24
YourData = load('YourFile.txt');
csvwrite('YourNewFile.txt', YourData);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by