Importing Data

7 Ansichten (letzte 30 Tage)
Blaine Bockholt
Blaine Bockholt am 23 Jun. 2012
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);

Antworten (1)

Walter Roberson
Walter Roberson am 23 Jun. 2012
Failure to retrieve more than 8334 lines of data probably means that line 8335 of the file is not in the expected format.

Kategorien

Mehr zu Large Files and Big Data finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by