ss="string">'file = '</span>, filename));
0032 version = fread(fid, 1, <span class="string">'int32'</span>);
0033 dataoffset = fread(fid, 1, <span class="string">'int32'</span>);
0034 freq = fread(fid, 1, <span class="string">'double'</span>);
0035 nch = fread(fid, 1, <span class="string">'int32'</span>);
0036 
0037 fseek(fid, 0, 1);
0038 fsize = ftell(fid);
0039 frewind(fid);
0040 fseek(fid, dataoffset, 0);
0041 npoints = (fsize - dataoffset)/(nch*2);
0042 d = fread(fid, [nch npoints], <span class="string"