Extracting text from .txt file and place into a string.
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!