truncate_header

Removes header from large file.

You are now following this Submission

This program removes the header from a large text file by using the "wc", "split", and "cat" utilities that are standard in most *nix distributions. For very large files, this is much faster than first finding the file size through a while ~feof loop and then using the fgetl over and over.

Cite As

Daniel Feldman (2026). truncate_header (https://uk.mathworks.com/matlabcentral/fileexchange/6330-truncate_header), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Problem with over-truncation of small files.