[FieldTrip] error in (ft_prepare_mesh)
"Jörn M. Horschig"
jm.horschig at donders.ru.nl
Fri Jun 20 08:45:11 CEST 2014
Hi Rasha,
could you update to the latest FT version? The function should be called
"volumefillholes" and is located in FieldTrip/private.
"myvolumefillholes" does indeed not exist and it appears that you or
someone else modified the file to call a different function at that
location.
Best,
Jörn
On 6/20/2014 8:10 AM, Rasha Haider wrote:
> Hello every one
> I was following the tutorial in page
> http://fieldtrip.fcdonders.nl/tutorial/headmodel_eeg to construct a
> head model for EEG, I've done the same steps explained in the tutorial
> but when I reach the meshing stage and use:
> bnd=ft_prepare_mesh(cfg,segmentedmri);
>
> I get the following error:
>
> ??? Undefined function or method 'myvolumefillholes' for input arguments of type 'logical'.
>
>
> error in ==> triangulate_seg at 73
> seg = myvolumefillholes(seg);
>
>
>
> error in ==> prepare_mesh_segmentation at 101
> [pnt, tri] = triangulate_seg(seg, cfg.numvertices(i), ori);
>
>
> error in ==> ft_prepare_mesh at 178
> bnd = prepare_mesh_segmentation(cfg, mri);
> -----------------------------------------------------------------------------
> although I'm geting the same results for the data structure as in the tutorial:
>
> disp(segmentedmri)
>
> dim: [256 256 256]
>
> transform: [4x4 double]
>
> coordsys: 'ctf'
>
> unit: 'mm'
>
> brain: [256x256x256 logical]
>
> skull: [256x256x256 logical]
>
> scalp: [256x256x256 logical]
>
> cfg: [1x1 struct]
> ----------------------------------------------------------
> can any one help in this matter
> please?
>
> 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
Contact:
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