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

2 Ansichten (letzte 30 Tage)
ARIF HUSSAIN
ARIF HUSSAIN am 5 Aug. 2022
Beantwortet: Walter Roberson am 5 Aug. 2022
I want to convert a text file into csv formate. How I can do that?
  3 Kommentare
ARIF HUSSAIN
ARIF HUSSAIN am 5 Aug. 2022
The file is some logs. Actually different coloums.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 5 Aug. 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.

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by