Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Stepping Through Text Documents

1 visualización (últimos 30 días)
Maggie Fielder
Maggie Fielder el 9 de Jul. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentario
Geoff Hayes
Geoff Hayes el 9 de Jul. de 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?

Respuestas (1)

Jan
Jan el 9 de Jul. de 2019
Editada: Jan el 9 de Jul. de 2019
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.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by