I want to convert a text file into csv formate. How I can do that?

1 vue (au cours des 30 derniers jours)
ARIF HUSSAIN
ARIF HUSSAIN le 5 Août 2022
I want to convert a text file into csv formate. How I can do that?
  3 commentaires
ARIF HUSSAIN
ARIF HUSSAIN le 5 Août 2022
The file is some logs. Actually different coloums.
ARIF HUSSAIN
ARIF HUSSAIN le 5 Août 2022
File has numeric and string data

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 5 Août 2022
readtable to read the text file. writetable to write to csv (or xlsx) format.
Note: this approach might have difficulty if there are headers in the text file, or if the data is not in clear column format.

Community Treasure Hunt

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

Start Hunting!

Translated by