Hi Martijn,
And if you want to try the github version of LEAD DBS, you might also need to set another two fields (in addtion to head
and tail
) of reco
to make it work. So it would look like the following code (where 1
means right side and 2
means left side):
reco.props(1).elmodel = 'Medtronic 3389';
reco.props(2).elmodel = 'Medtronic 3389';
reco.props(1).manually_corrected = 1;
reco.props(2).manually_corrected = 1;
reco.mni.markers(1).head = [ x x x];
reco.mni.markers(1).tail = [ x x x];
reco.mni.markers(2).head = [ x x x];
reco.mni.markers(2).tail = [ x x x];
save('ea_reconstruction.mat', 'reco');
Besides, are you using MATLAB R2007a (MATLAB74)? LEAD DBS needs MATLAB version > R2014b for some functions and visualizations. Better to use R2015b or later with LEAD DBS.
Best,
Ningfei