Reading a .txt file without knowing the length of rows and skipping headers

2 visualizaciones (últimos 30 días)
Hello,
I need to read a .txt file without knowing the size of the filewhile putting inputing into a matrix and while skipping the first row
Here is an example of a file that needs to be put into a matrix

Respuesta aceptada

Johannes Hougaard
Johannes Hougaard el 3 de Nov. de 2021
m = readmatrix('connectivity.txt','NumHeaderLines',1);

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion 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