How to read this kind of info out of a txt file and post them into Excel files?
Afficher commentaires plus anciens
I receive the below info from emails and would store them into an txt file named FmEmail.txt. The info is composed of several groups of unknown amount of terms. Sometimes just one group, sometimes two groups, other times could have all 3 groups.
Instruments:
instrument 1
instrument 2
Institutions:
institutions 1
institutions 2
institutions 3
Variables
Var 1
Var 2
Var 3
Var 4
Var 5
How do I extract each group of info out and dump them into the first column of their own respective Excel files? For example, the variables would go to an Excel file named Variable.xlsx, which stores a 3 column matrix like the below:
Varnames, Var_ID, Description
Var 11 nnn XYZ
...
etc.
Many thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!