Info

This question is closed. Reopen it to edit or answer.

How to extract parts of text file to a number of text files?

1 view (last 30 days)
I have a text file in form of a table, I would like to divide it into number of text files based on a string in one of the columns. Data is of lines, I want to have a file for each line that has it's name, that's the column I want to use to separate the different lines with into the different files.
I tried to take the data into an array and extract from table to text but it is not really working for me, plus I believe there is a more efficient way.

Answers (0)

Community Treasure Hunt

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

Start Hunting!