Handling Large Data Sets Efficiently in MATLAB
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: A Powerful Sidekick: Using MySQL for High-Volume Data Manipulation in Matlab
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.