readtext
readtext

readtext

Any text (file) you give it, readtext returns an array of the contents. You can chose delimiter etc.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Peder Axensten (2026). readtext (https://www.mathworks.com/matlabcentral/fileexchange/10946-readtext), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

- Now handles a string directly.
- Improved compatibility with Matlab 6.x regarding waitbar calls.
- Fixed bug: failed to recognize a quote if there was only one in the text.
- Fixed a bug processing source of delimiters only.

Download