Matlab script: Create BEM headmodel for EEG - Second time

Avni Pllana avni.pllana at UNIVIE.AC.AT
Tue Nov 25 16:30:34 CET 2008

Dear Robert,

many thanks for posting 'strel_bol.m', but running Matlab script: Create BEM
headmodel for EEG, 
Matlab returns another error message:

Undefined function or method  'write_tri'

Error in ==> prepare_bemmodel at 151 

It would be nice,  if you could post the missing function 'write_tri.m' .

Best regards,

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