How to read a text file into an array

4 visualizaciones (últimos 30 días)
Jack
Jack el 11 de Nov. de 2020
Respondida: Cris LaPierre el 11 de Nov. de 2020
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by