Using textscan how can I read in multiple text files in a folder and store each word on a vector?

1 回表示 (過去 30 日間)
Jose
Jose 2014 年 11 月 29 日
コメント済み: Star Strider 2014 年 11 月 29 日
I have around 150 .txt files in a folder. Each text file contains paragraphs that talk about random topics. I need to obtain each word from each text file and save each word into a vector. The vector will be size 1x(# of words) [in other words a vertical vector].
Any help is greatly appreciated.
  1 件のコメント
Star Strider
Star Strider 2014 年 11 月 29 日
Attach one of your files here. Click on ‘Edit’ to edit your Question, then use the ‘paperclip’ icon (to the left of the ‘Help’ button) and upload it. If we have an example of your text file, we can be more specific with our solutions.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by