Importing Data
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a text file of data which is 46922 by 6. I use textscan to open the file but it is only retrieving 8334 lines of the data. Here is my code:
fid=fopen('home/pressure_final');
C=textscan(fid,'%d %d %d %d %d %f32');
fclose(fid);
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 6월 23일
Failure to retrieve more than 8334 lines of data probably means that line 8335 of the file is not in the expected format.
댓글 수: 0
참고 항목
카테고리
Help Center 및 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!