<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Frederic,</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">cfg.demean = 'yes';<br>data = preprocessing(cfg,data);<br><br>did not do the job.<br></div></span></blockquote><div><br></div><div>At some point we changed the name of the option "cfg.blc" into "cfg.demean". If your fieldtrip version pre-dates this change, then I can imagine that it did not work. I am fairly positive that it will just work if you use a recent FT-version.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Jan-Mathijs</div></div></body></html>