importdata doen't read the entire txt file
조회 수: 4 (최근 30일)
이전 댓글 표시
i have a large txt file with 2,609,876 line encoded in ANSI format when i've used the import data command to save it in a matrix , Matlab read the first 400,000 line only . How can i fix this problem. Also i try to encode the file into UTF-8 the same result are get. the data stored in the file are comma delimited such as :
1.050458716,0.010869565,0,0.006993468,6.60E+00,0.115440419,6.077642243,1.13E-08,13.33333333,0.454117523,13.07692308,0.985354563,0.36772478,0.048202102,0.008196767,0.148336301,2
1.050458716,0.058423913,0,0.006993468,6.60E+00,0.115440419,6.077642243,1.13E-08,12.30769231,0.454117523,14.61538462,0.985354563,0.36772478,0.048202102,0.008196767,0.148336301,2
댓글 수: 1
per isakson
2016년 7월 24일
Have you checked the 400001th row? Could it contain some non-numerical character?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!