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.
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 LinuxCategories
Find more on Import, Export, and Conversion 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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |