<div dir="ltr"><div>Hello Diego,</div><div><br></div><div>Thank you for the reply. I was using fieldtrip20120822.</div><div><br></div><div>I found the bug in the fieldtrip20120822 file -ft_read_header.m.</div><div>In line 446 of the file:</div>
<div><br></div><div>-------</div><div>if any(~cellfun(@isempty,strfind(coeftype, 'G1AR')))</div><div>-------</div><div><br></div><div>should be:</div><div><br></div><div>-------</div><div>if any(~cellfun(@isempty,strfind(coeftype, 'G3AR')))</div>
<div>-------</div><div><br></div><div><br></div><div>The bug is corrected in the latest version of fieldtrip, and it runs correctly now.</div><div><br></div><div>Now, grad.balance has 'G1BR','G2BR','G3BR''G3AR' in it.</div>
<div><br></div><div>The ctf sytem I use is ctf151. </div><div><br></div><div>Regards,</div><div>Ye</div></div>