txt file to csv file
78 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Walter Roberson
on 24 Jun 2012
YourData = load('YourFile.txt');
csvwrite('YourNewFile.txt', YourData);
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Report Generator 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!