Merge multiple .txt files
Show older comments
I would like to merge multiple .txt files, and create ONE .txt file with the conte of all .txt files.
How could I do that?
3 Comments
Stephen23
on 19 May 2020
Select an appropriate file importing tool:
Import the file data in a loop:
Concatenate.
Write to file.
Ivan Mich
on 22 May 2020
"For .txt files what to do?"
CSV files are text files.
What functions to use depends on the formatting of those text files, which you have not told us. You can select the functinos yourself here:
Answers (0)
Categories
Find more on Standard File Formats 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!