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

2 ビュー (過去 30 日間)
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

採用された回答

Johannes Hougaard
Johannes Hougaard 2021 年 11 月 3 日
m = readmatrix('connectivity.txt','NumHeaderLines',1);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by