 file'</span>);
0029    <span class="keyword">return</span>
0030 <span class="keyword">end</span>
0031 
0032 disp(strcat(<span class="string">'file = '</span>, filename));
0033 
0034 <span class="comment">% read file header</span>
0035 header = fread(fid, 64, <span class="string">'int32'</span>);
0036 freq = header(35);  <span class="comment">% frequency</span>
0037 ndsp = header(36);  <span class="comment">% number of dsp channels</span>
0038 nevents = header(37); <span class="comment">% number of external