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

1 visualización (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 24 de Jul. de 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:

Más respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by