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