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

1 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by