csvreadtail
Version 2.0.0.0 (3.34 KB) by
Mike
Reads the last N lines of a CSV file without needing to load and parse the entire file.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Good for reading the last few lines off of large CSV data files, especially if you don't know ahead of time how many lines there are in the file (in which case you could just use csvread() with a specified range)
Cite As
Mike (2024). csvreadtail (https://www.mathworks.com/matlabcentral/fileexchange/64278-csvreadtail), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Text Files in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.