How to use load command and omit header lines

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

回答(1 个)

If I recall correctl, load() can handle header lines that start with the MATLAB comment character, but not otherwise.
See uiimport() or textscan()

类别

帮助中心File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

提问:

2013-2-18

Community Treasure Hunt

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

Start Hunting!

Translated by