Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Stepping Through Text Documents

조회 수: 1 (최근 30일)
Maggie Fielder
Maggie Fielder 2019년 7월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Geoff Hayes
Geoff Hayes 2019년 7월 9일
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?

답변 (1개)

Jan
Jan 2019년 7월 9일
편집: Jan 2019년 7월 9일
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.

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by