read txt file instead of dlmread
Mostra commenti meno recenti
hi, are there other way instead of dlmread read txt file has non equal rows?
I deal with very big size txt file . for example , i want read txt file with 17000 rows and different no. of columns . when used dlmread , i have to wait very long time to get data
thanks in advance
Risposta accettata
Più risposte (1)
tlawren
il 1 Mag 2012
0 voti
On average, how many columns are there? Or, better yet, what is the maximum number of columns you might expect in your data? I can quickly load text files with 100k rows and in upwards of 100 columns on my machine. But then again, that may be small compared to what you are dealing with. If you are working on the same files over and over, it might be worthwhile to spend some time formatting and re-saving your data in form that is easier to handle.
1 Commento
huda nawaf
il 1 Mag 2012
Categorie
Scopri di più su Text Files in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!