Reading files in console
Version 1.0.0.0 (288 Bytes) by
Danielle Saunders
Given a file, prints out successive lines of file when user presses enter, or exits on entering 'q'.
Takes a path to a file. Each time the user enters anything (other than 'q') displays the next line from that file. Useful for quickly checking the contents of various files without having to find and open them.
Cite As
Danielle Saunders (2024). Reading files in console (https://www.mathworks.com/matlabcentral/fileexchange/52829-reading-files-in-console), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |