Hello all...somewhat novice user here. I am trying to import some very large text files in blocks, as I max out 16 gigs of RAM trying to use the wizard.
The file has 23 lines of header followed by about 43 million lines of a time value (floating point) and a pressure value (floating point). Tab delineated....created by LabVIEW.
I am using the following code:
fid = fopen('k3_south.txt');
i = 24;
k = 0;
formatSpec = '%f %f';
i = i+1;
k = k+1;
L = textscan(fid, '%s %s', 'Delimiter', '|');
Data(i, :) = L;
Right now the script will run indefinitely until terminated and creates an array that is far, far longer than the original file. Additionally, as stated, the array is nothing but empty little square characters.
I've done a bunch of reading on this topic and can't seem to figure out what the problem is. Any help is appreciated!