[FieldTrip] error in ft_prepare_headmodel

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Wed Jun 25 16:13:38 CEST 2014

Hi Rasha,

could you paste a part of your script and the full error message? Then 
we would be better able to provide any assistance.


PS: the mail server can be a bit slow sometimes, so please be patient 
when a mail is not instantaneously delivered.

On 6/25/2014 12:12 PM, Rasha Haider wrote:
> Dear fieldtrip experts,
> I'm trying to construct a head model following the tutorial, but when 
> I apply the function (ft_prepare_headmodel):
> vol        = ft_prepare_headmodel (cfg, segmentedmri);
> I'm having this error:
> Error in ==> ft_prepare_headmodel>prepare_shells at 352
> tissue      = ft_getopt(cfg,'tissue');
> ??? Output argument "bnd" (and maybe others) not assigned during call 
> to "/Volumes/My Passport/my work/untitled
> folder/rasha/fieldtrip/ft_prepare_headmodel.m>prepare_shells".
> Error in ==> ft_prepare_headmodel at 205
>         geometry = prepare_shells(cfg,data);
> although I'm following the tutorial step be step, I think it could be 
> a bug in the function, can any one help pls.
> Regards
> rasha
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

More information about the fieldtrip mailing list