How to read and work with a large Excel file in MATLAB?

1 view (last 30 days)
I have huge data saved on a single Excel csv file (approximatly 90 GB). I would like to know how can I read the data from this file. And, what is the maximum file size (csv file) that I can work with?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jul 2018
In general, the amount of data that can be loaded into memory depends on your machine's RAM.
To workaround the memory limitation, MATLAB has a feature called 'datastore'. This feature allows you to read and process your data without loading everything into memory at once.
You can refer to the "tabularTextDatastore" to learn more about 'datastore' for CSV file:
You can also refer to the following documentation for a more general overview about our 'datastore' feature:
Additionally, if your workflow also demands manipulating the data as array after you import them as 'datastore', you can leverage another feature called Tall array:

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!