<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 class="" style="">Dear fieldtrip experts,</div><div class="" style="">I'm trying to construct a head model following the tutorial, but when I apply the function (<span style="font-size: 10pt;" class="">ft_prepare_headmodel):</span></div><div class="" style=""><br class="" style=""></div><div style="background-color: transparent;" class="">vol        = ft_prepare_headmodel (cfg, segmentedmri);</div><div style="background-color: transparent;" class=""><br class="" 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="">I'm having this error:<br class=""
 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=""><br></div><div style="background-color: transparent;" class="">Error in ==> ft_prepare_headmodel>prepare_shells at 352</div><div style="background-color: transparent;" class="">tissue      = ft_getopt(cfg,'tissue');</div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class="">??? Output argument "bnd" (and maybe others) not assigned during call to "/Volumes/My Passport/my work/untitled</div><div style="background-color: transparent;" class="">folder/rasha/fieldtrip/ft_prepare_headmodel.m>prepare_shells".</div><div style="background-color: transparent;" class=""><br class="" style=""></div><div
 style="background-color: transparent;" class="">Error in ==> ft_prepare_headmodel at 205</div><div style="background-color: transparent;" class="">        geometry = prepare_shells(cfg,data);</div><div style="background-color: transparent;" class=""><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="">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=""><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="">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="">rasha</div><div style="background-color: transparent;" class=""> </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=""><br class="" style=""></div></div></body></html>