How to read a text file into an array

6 views (last 30 days)
I want to read the text file attached to this post into an array. It contains both numbers and words but I just want to read the numbers only into the array.

Accepted Answer

Cris LaPierre
Cris LaPierre on 11 Nov 2020
See the Import Text Files documentation page.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!