Reading files in console

Given a file, prints out successive lines of file when user presses enter, or exits on entering 'q'.
41 Downloads
Updated 3 Sep 2015

View License

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 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