How to import large textfile
Mostrar comentarios más antiguos
Hi EVERYONE I'm new to matlab, I've been trying to import large text file .asc to matlab. is there anyone can help. the file contains 59615 (24*24)matrix. I've attached small part of the file. When I import the whole file I get an error while if I import small part it works fine!! I don't think it's memory problem, can anyone help please???
4 comentarios
Sara
el 9 de Jun. de 2014
There is no attachment and you need to cut and paste the error you get here, so people can see exactly what error you get
dpb
el 9 de Jun. de 2014
Didn't get the file attached.
How about letting us know what the error is? A 24x24 array is not a large file. More than likely there's something in the file causing a conversion error.
It is not too large, but not small either. Assuming 10 chars per element (including separators, etc), it is more than 300MB
>> 59615*24*24 * 10 / 1e6
ans =
343.3824
Could you provide a ~5MB sample?
Rajab Omar
el 9 de Jun. de 2014
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Text Data Preparation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!