How to import large textfile
이전 댓글 표시
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
Sara
2014년 6월 9일
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
2014년 6월 9일
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
2014년 6월 9일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!