How to use load command and omit header lines
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I am trying to use the 'load' command to read data from text files and do subsequent operations. These files have a header line, which I manually remove by editing the file. Is there a way to leave the first line with header data and load the remainder of the file. Thanks. Deep
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 2 月 18 日
If I recall correctl, load() can handle header lines that start with the MATLAB comment character, but not otherwise.
See uiimport() or textscan()
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!