fseek_line(fid, offset, verbose)

Version 1.0.0.0 (1.61 KB) by yuanhao
Retrieve a number of specific lines for an opened txt file.
42 Downloads
Updated 18 Mar 2016

View License

When to read a txt file line by line using function of fgetl(), the pointer will always point to the first character in the next line. This function will help to position the pointer back to the line an user expect to retrieve, and take that line out.

Cite As

yuanhao (2024). fseek_line(fid, offset, verbose) (https://www.mathworks.com/matlabcentral/fileexchange/56043-fseek_line-fid-offset-verbose), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
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.0.0