Read large CSV file in column and save each column in mat file

Versione 1.3.0.0 (1,53 KB) da Juan Huo
This is a draft to help you for transferring large CSV file or dat file into mat file
650 download
Aggiornato 4 giu 2012

Visualizza la licenza

We all feel headache about importing large data into matlab which may cause 'out of memory' problem. Since large CSV data usually stored in columns or rows, we can read CSV file column by column or row by row.

csvscan.m is a simple draft but work well for unlimited size of csv file, if each column data does not surpass the memory limitation. In my case, I have loaded 500M Bytes CSV file in 34 separated mat files. Hope it can help you.

Cita come

Juan Huo (2025). Read large CSV file in column and save each column in mat file (https://it.mathworks.com/matlabcentral/fileexchange/36546-read-large-csv-file-in-column-and-save-each-column-in-mat-file), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Large Files and Big Data in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.3.0.0

At the end of each loop, text=[]; and textarray=[] are added to release the memory.

1.0.0.0