readlog

Version 1.0.1 (4.05 KB) by Austin Fite
Rapidly parse information out of large log files (or any text file)
34 Downloads
Updated 19 Jul 2023

View License

READLOG is a wrapper function for textscan. It quickly parses a text file line-by-line with pattern matching as it goes, and will return whole lines or matched patterns based on the options you set. It can be used to efficiently parse specific lines from very large log files, but it's also a fast way to import text from just about any file source.

Cite As

Austin Fite (2024). readlog (https://www.mathworks.com/matlabcentral/fileexchange/96364-readlog), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.1

Fixes incorrect line numbers returned when reading blocks that do not match the provided pattern.

1.0.0