Handling Large Data Sets Efficiently in MATLAB

Handling Large Data Sets Efficiently in MATLAB®


Updated 1 Sep 2016

View License

Editor's Note: This file was a File Exchange Pick of the Week

Example code from "Handling Large Data Sets Efficiently in MATLAB " webinar describing strategies for handling large amounts of data in MATLAB and avoiding "out-of-memory" errors. It will provide you with an understanding of the causes of memory limitations in MATLAB and a set of techniques to increase the available memory in MATLAB. It will also show techniques for minimizing memory usage in MATLAB while accessing, storing, processing, and plotting data.

Specific topics include:
* Understanding the maximum size of an array and the workspace in MATLAB
* Using undocumented features to show you the available memory in MATLAB
* Setting the 3GB switch under Windows XP to get 1GB more memory for MATLAB
* Using textscan to read large text files and memory mapping feature to read large binary files

Cite As

Stuart McGarrity (2023). Handling Large Data Sets Efficiently in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/9060-handling-large-data-sets-efficiently-in-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Large Files and Big Data in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Added license file.

Copyright work.

Error in description.

Removed PPT slides.

Removed Slides

Add link to technical note