Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Yuval
Yuval le 13 Oct 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.
  1 commentaire
TastyPastry
TastyPastry le 14 Oct 2015
can you upload an example file?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by