Extracting text from .txt file and place into a string.
Show older comments
I have a number of txt files which contain famous speeches. How do I open the file, and extract the entire speech and place it into a string? After that I wish to do a separate count for all words in the speech.
Answers (1)
Chad Greene
on 26 Mar 2015
0 votes
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!