[FieldTrip] Help in code

Munsif Jatoi munsif.jatoi at gmail.com
Thu Apr 4 12:01:02 CEST 2013


Dear Sir/Madam,

I hope you are fine.

Sir, I am doing PhD in EEG Source localization using FEM. I was using the
codes available at your website for implementation of head model using FEM.
I have written following program in MATLAB:

*addpath('C:\Users\Munsif\Desktop\Data From Laptop\fieldtrip');*
*addpath('C:\Users\Munsif\Desktop\Data From Laptop\fieldtrip\utilities');*
*addpath('C:\Users\Munsif\Desktop\Data From
Laptop\fieldtrip\external\freesurfer');*
*addpath('C:\Users\Munsif\Desktop\Kelantan Dr.
Bornot\fieldtrip\external\simbio');*
*mri = ft_read_mri('G:\tutorial_fieldtrip\Subject01\Subject01.mri');*
*
*
*% reslice*
*cfg     = [];*
*cfg.dim = mri.dim;*
*mri     = ft_volumereslice(cfg,mri);*
*
*
*% segmentation*
*cfg           = [];*
*cfg.output    = {'gray','white','csf','skull','scalp'};*
*segmentedmri  = ft_volumesegment(cfg, mri);*
*
*
*% mesh*
*cfg=[];*
*cfg.method = 'hexahedral';*
*mesh = ft_prepare_mesh(cfg,segmentedmri);*
*
*
*% simbio*
*cfg        = [];*
*cfg.method ='simbio';*
*cfg.conductivity = [0.1 0.2 0.3 0.4 0.5];               % order follows
tissuelabel in vol*
*vol        = ft_prepare_headmodel(cfg, segmentedmri);*
*
*

when I run this programme by using MATLAB with Fieldtrip, There were some
errors stating that a file tp5084846f_e0f2_4004_9e7c_8_6fe72f5707.v which
is mesh file is missing. Upon investigation, I come to know that SIMBIO
which is used for FEM implementation is missing form Fieldtrip package.

Therefore, it is requested in your kind honor to please guide me in this
regard as I am working on Fieldtrip these days and need your urgent help.

I hope you will send me positive and helpful response.


-- 
Munsif Ali H.Jatoi,

Ph D Scholar,
Centre for Intelligent Signals and Imaging Research,
Universiti Teknologi PETRONAS,
Malaysia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130404/cbc66bf2/attachment.html>


More information about the fieldtrip mailing list