<div dir="ltr">Regardless of the Fieldtrip version I use, I keep getting the following error when trying to run the m file "openmeeg_eeg_leadfield_example":<div><br></div><div>"Reference to non-existent field 'cond'.</div>
<div><br></div><div>Error in ft_compute_leadfield (line 390)</div><div>      vol.cond = vol.cond(indx);</div><div><br></div><div>Error in openmeeg_eeg_leadfield_example (line 83)</div><div>lf_sphere = ft_compute_leadfield(pos, sens, vol_sphere);"</div>
<div><br></div><div><br></div><div>I would like to be able to eventually simulate a head model and compute the forward EEG leadfield. I believe this to be a good starting point, any other suggestions?</div><div><br></div>
<div><br></div><div>Thanks</div><div>Toni</div></div>