large csv import and split

4 vues (au cours des 30 derniers jours)
Ancalagon8
Ancalagon8 le 10 Fév 2018
Modifié(e) : Ancalagon8 le 6 Jan 2025
What i am trying to do is to import my file (weekly file size around 25GB) to process it. Microsoft excel doesn't open it of course.
How can i import my initial large file into 3 different columns?Thanks in advance!

Réponses (1)

Jeremy Hughes
Jeremy Hughes le 12 Fév 2018
With a file that's 25GB, you're going to need to break the data up. I recommend using
ds = tabularTextDatastore(filename)
while hasdata(ds)
T = read(ds)
end
You might have to tweak some settings, but this is the easiest way.

Catégories

En savoir plus sur Control Systems dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by