<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<br><br>there might be a bug in the latest release of ft_prepare leadfield (version 20110113):<br><br>In line 172: [sourcegrid, tmpcfg] ...<br>but later on, the code only refers to "grid" not "sourcegrid". Changing "sourcegrid" to "grid" solves the problem.<br><br>By the way, I get a conflict with the graph2d-toolbox, as this toolbox has a function called grid.m<br><br>Greetings <br>Julian<br><br><br><br><br><br>Dipl. Psych. Julian Keil<br><br>OBOB-Lab<br>University of Konstanz<br>Department of Psychology<br>P.O. Box D25<br>78457 Konstanz<br>Germany<br><br>Tel: ++49 - (0)7531 - 88 42 50<br>Fax: ++49 - (0)7531 - 88 28 91<br>Email: <a href="mailto:julian.keil@uni-konstanz.de">julian.keil@uni-konstanz.de</a><br>Homepage: <a href="http://www.uni-konstanz.de/obob">http://www.uni-konstanz.de/obob</a><br></body></html>