How do I open a text file and extract the contents as a string?

2 visualizzazioni (ultimi 30 giorni)
Im looking to open a text file and extract the contents(in this case a famous speech) into a string of data so the allwords.m file can be used. Any ideas?

Risposte (1)

Adam
Adam il 26 Mar 2015
Modificato: Adam il 26 Mar 2015
doc textscan

Categorie

Scopri di più su Text Data Preparation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by