<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span style="font-size: 10pt;">Dear fieldtrip experts,</span><br></div><div style="font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv4843243306"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);"><div class="yiv4843243306" style="">I'm trying to construct a head model following the tutorial, but when I apply the function (<span
 style="font-size:10pt;" class="yiv4843243306">ft_prepare_headmodel):</span></div><div class="yiv4843243306" style=""><br class="yiv4843243306" style=""></div><div style="background-color:transparent;" class="yiv4843243306">vol        = ft_prepare_headmodel (cfg, segmentedmri);</div><div style="background-color:transparent;" class="yiv4843243306"><br class="yiv4843243306" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306">I'm having this error:<br class="yiv4843243306" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"
 class="yiv4843243306"><br></div><div style="background-color:transparent;" class="yiv4843243306">Error in ==> ft_prepare_headmodel>prepare_shells at 352</div><div style="background-color:transparent;" class="yiv4843243306">tissue      = ft_getopt(cfg,'tissue');</div><div style="background-color:transparent;" class="yiv4843243306"><br class="yiv4843243306" style=""></div><div style="background-color:transparent;" class="yiv4843243306">??? Output argument "bnd" (and maybe others) not assigned during call to "/Volumes/My Passport/my work/untitled</div><div style="background-color:transparent;" class="yiv4843243306">folder/rasha/fieldtrip/ft_prepare_headmodel.m>prepare_shells".</div><div style="background-color:transparent;" class="yiv4843243306"><br class="yiv4843243306" style=""></div><div style="background-color:transparent;" class="yiv4843243306">Error in ==> ft_prepare_headmodel at 205</div><div
 style="background-color:transparent;" class="yiv4843243306">        geometry = prepare_shells(cfg,data);</div><div style="background-color:transparent;" class="yiv4843243306"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306">although I'm following the tutorial step be step, I think it could be a bug in the function, can any one help pls.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica,
 Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306">Regards</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306">rasha</div><div style="background-color:transparent;" class="yiv4843243306"> </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="yiv4843243306"><br class="yiv4843243306" style=""></div></div></div></div><br><br></div> </div> </div>  </div></body></html>