read_headlines

版本 1.0.0 (1.8 KB) 作者: Changliang Xiong
This is a function to help you recognize the headlines of files.
5.0 次下载
更新时间 2021/4/24

查看许可证

The first character of the header file in the document is the“#”, so I choose to read each line one by one, and then match the first character with the "#" . When the match returns an 0, stop reading and return the header file content and line number.
I take the *.mom files as an example.You can follow it to do a batch processing.
#
[lines_e, headline_e] = read_headlines(folder)

引用格式

Changliang Xiong (2024). read_headlines (https://www.mathworks.com/matlabcentral/fileexchange/90985-read_headlines), MATLAB Central File Exchange. 检索来源 .

He X, Yu K, Montillet J P, et al. GNSS-TS-NRS: An Open-Source MATLAB-Based GNSS Time Series Noise Reduction Software[J]. Remote Sensing, 2020, 12(21): 3532.

MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0