Matlab Slow Import using Import preview
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using the Import function in Matlab to preview the file before import. The file I am importing is rather large (500 MB or so) but is pretty simple in that it has 15 columns (2 text 13 numeric) and comma delimited. When I use textscan this file comes in relatively quickly but when I proceed to import using the import editor it is incredibly slow (10+ minutes) Can someone tell me why this method of importing is so slow? I find it very convenient since I can preview the data before importing, I just wish it wasn't so slow that it was unusable. Hopefully I am doing something wrong and it will be more useful if I can figure out what I'm doing.
Thanks much, Brian
0 Commenti
Risposta accettata
Jason Ross
il 6 Mar 2013
If you are importing a lot of data that's the same format, you can generate code from the Import Wizard and then use that code to pull in other files. It's in the drop-down menu where you usually accept the import.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import and Export in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!