Importing Data
7 ビュー (過去 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!