MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

Text document read into script

9 views (last 30 days)
xRobot
xRobot on 19 Nov 2019
Closed: Adam Danz on 19 Nov 2019
Hello,
I have a text document "mylist.odt" that contains one column of many words. The document is a word document. I would like to read it into my matlab script and ultimately have it as a string array. I have actually manged to read it in using fopen() and fscanf(). It reads it in as a 1x111022 char. I am having trouble converting it into a string array.
Any advice is greatly appeciated! Thanks in advance!

  0 Comments

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by