txt file to csv file

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

 Réponse acceptée

Walter Roberson
Walter Roberson le 24 Juin 2012

0 votes

YourData = load('YourFile.txt');
csvwrite('YourNewFile.txt', YourData);

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by