You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Handling Large Data Sets Efficiently in MATLAB (https://se.mathworks.com/matlabcentral/fileexchange/9060-handling-large-data-sets-efficiently-in-matlab), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: A Powerful Sidekick: Using MySQL for High-Volume Data Manipulation in Matlab
General Information
- Version 1.8.0.1 (1.23 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
