<div dir="ltr">Dear Sir/Madam,<div><br></div><div>I hope you are fine.</div><div><br></div><div>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:</div>
<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>addpath('C:\Users\Munsif\Desktop\Data From Laptop\fieldtrip');</i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>addpath('C:\Users\Munsif\Desktop\Data From Laptop\fieldtrip\utilities');</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>addpath('C:\Users\Munsif\Desktop\Data From Laptop\fieldtrip\external\freesurfer');</i></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><i>addpath('C:\Users\Munsif\Desktop\Kelantan Dr. Bornot\fieldtrip\external\simbio');</i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>mri = ft_read_mri('G:\tutorial_fieldtrip\Subject01\Subject01.mri');</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i><br></i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>% reslice</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg = [];</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg.dim = mri.dim;</i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>mri = ft_volumereslice(cfg,mri);</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i><br></i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>% segmentation</i></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg = [];</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg.output = {'gray','white','csf','skull','scalp'};</i></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><i>segmentedmri = ft_volumesegment(cfg, mri);</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i><br></i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>% mesh</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg=[];</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg.method = 'hexahedral';</i></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><i>mesh = ft_prepare_mesh(cfg,segmentedmri);</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i><br></i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>% simbio</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg = [];</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg.method ='simbio';</i></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><i>cfg.conductivity = [0.1 0.2 0.3 0.4 0.5]; % order follows tissuelabel in vol</i></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><i>vol = ft_prepare_headmodel(cfg, segmentedmri);</i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><i><br></i></b></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>
<div style="font-family:arial,sans-serif;font-size:13px">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.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">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.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I hope you will send me positive and helpful response.</div></div><div><br></div><div><br></div>-- <br>
Munsif Ali H.Jatoi,<br><br>Ph D Scholar,<br>Centre for Intelligent Signals and Imaging Research,<br>Universiti Teknologi PETRONAS,<br>Malaysia.<br><br>
</div>