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!