read_headlines

This is a function to help you recognize the headlines of files.

You are now following this Submission

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)

Cite As

Changliang Xiong (2026). read_headlines (https://in.mathworks.com/matlabcentral/fileexchange/90985-read_headlines), MATLAB Central File Exchange. Retrieved .

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.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0