Reading a .txt file without knowing the length of rows and skipping headers
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nethanel Benzaquen
am 3 Nov. 2021
Beantwortet: Johannes Hougaard
am 3 Nov. 2021
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
0 Kommentare
Akzeptierte Antwort
Johannes Hougaard
am 3 Nov. 2021
m = readmatrix('connectivity.txt','NumHeaderLines',1);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!