<div>Dear Fieldtrippers,</div>
<div><br clear="all">
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">I am trying to preprocess a subject. There is an error I have never seen before. </font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"></font></font> </p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">It says:   ??? Reference to non-existent field 'res4'.</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">However, in my subject´s folder there is a .res4 file. </font></font><font size="3" face="Times New Roman"></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">To note that, when I have completed to test the subject, it was not possible to determine the head movement since “the system could not determine the position of the nasion”. May this be related?</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"></font></font> </p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">The file is corrupted and I can not open it with fieldtrip even with  ft_read_header.</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Thanks for the help,</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Davide </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">HERE IS THE ERROR:</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">working on: </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">SRW66_VisualGamma1_20110913_01.ds</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"># of run in Design is:1</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">cfg = </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">     dataset: [1x94 char]</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">    datatype: 'continuous'</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">    trialdef: [1x1 struct]</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Warning: no trialfun was specified, using trialfun_general </font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">> In ft_definetrial at 101</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">  In Main_VG_HF at 72</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">evaluating trialfunction 'trialfun_general'</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">readCTFds: This dataset has multiple meg4 files.</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">readCTFds: .11_meg4 file header=   Valid header options:  MEG41CP  MEG42CP</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">??? Reference to non-existent field 'res4'.</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Error in ==> ft_read_header at 331</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">    hdr.Fs           = orig.res4.sample_rate;</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Error in ==> trialfun_general at 55</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Error in ==> ft_definetrial at 144</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">    [trl, event] = feval(cfg.trialfun, cfg);</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">Error in ==> Main_VG_HF at 72</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><font size="3"><font face="Times New Roman">    cfg = ft_definetrial(cfg);</font></font></p></div>
<div> </div>
<div> </div>
<div> </div>