Readtext wrapper

A wrapper for READTEXT which builds it in smaller chunks (reduces peak memory footprint).


Updated 30 Oct 2012

View License

Works exactly the same as READTEXT

[data, result]= readtext2(source, delimiter, comment, quotes, options)

The only difference is if the first attempt didn't work, it'll try to read it in again in smaller chunks, to reduce the peak memory footprint.

Cite As

Geoffrey Akien (2023). Readtext wrapper (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Preprocessing Data in Help Center and MATLAB Answers
Tags Add Tags

Inspired by: readtext

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Bundled getfilesize with submission. Thanks for the heads up on the error.