problems making a template grid

Andreas Wollbrink a.wollbrink at UNI-MUENSTER.DE
Thu Apr 15 18:05:04 CEST 2010

Hi Arjen,

thank you for your help.


On 04/14/10 10:36, a.stolk at wrote:
> Hi Andreas,
> With recpect to your third question:
> Regards,
> Arjen
> ----- Original Message -----
> From: "Andreas Wollbrink"<a.wollbrink at UNI-MUENSTER.DE>
> Sent: Wednesday, April 14, 2010 10:21:10 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: [FIELDTRIP] problems making a template grid
> Hi all,
> I encountered some problems generating a template source grid as
> described in the fieldtrip example matlab script 'Create MNI-aligned
> grids in individual head-space':
> 1. in chapter 'Make the template_grid': Without defining a template
> image in the cfg structure prior to use ft_volumesegment the default
> setting cfg.template = '/home/common/matlab/spm2/templates/T1.mnc' is
> used. Since this file might not exist in this specific folder on a
> personal computer the function fails.
> After defining cfg.template I succeed in using the function.
> It might be helpful for others to add this comment to the example script.
> 2. My question at this point is: Should one use the individual template
> 'single_subj_T1.mnc' or the average template 'T1.mnc' to segment the
> template brain and construct a volume conduction model?
> 3. Furtheron the function 'prepare_dipole_grid' could not be found. This
> functions is placed in the private folder under fieldtrip. How can I
> automatically add this folder to my matlab path?
> Thanks,
> Andreas



   Andreas Wollbrink, Biomedical Engineer

   Institute for Biomagnetism and Biosignalanalysis       	
   Muenster University Hospital

   Malmedyweg 15        phone:   +49-(0)251-83-52546
   D-48149 Muenster     fax:     +49-(0)251-83-56874	
                        e-Mail: a.wollbrink at


The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list