Stepping Through Text Documents

I have a folder of text documents that I need to step/loop through and tally up numerical totals for certain columns in the text files. How should I go about setting this up? Thank you!

1 commentaire

Geoff Hayes
Geoff Hayes le 9 Juil 2019
Maggie - do all files have a common format? Are all files in the same folder? Can you attach one of your files to this question?

Réponses (1)

Jan
Jan le 9 Juil 2019
Modifié(e) : Jan le 9 Juil 2019

0 votes

A more specific answer is possible, if you explain what "tally up numerical totals for certain columns in the text files" means. Try to implement the loop over a sequence of files according to the FAQ and post the code, if there are still problems.

Cette question est clôturée.

Produits

Version

R2019a

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by