How do I read all text files from a folder?

Hi, I want to read all text files from the following folder. How to write MATLAB code to do it? Please help me. D:\Objectness_Model_2007_trainval\BBoxesB2W8MAXBGR_2007_trainval

回答 (1 件)

dpb
dpb 2014 年 5 月 19 日

1 投票

See the FAQ and there's been a "veritable plethora" of similar with much discussion on "CSV" file-reading last two weeks that is essentially same question...
I STRONGLY recommend the dir solution for almost all cases...

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 5 月 19 日

回答済み:

dpb
2014 年 5 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by