Looking to follow up on this old thread.
I am attempting to do a similar procedure as Martijn has described above but to be able to visualize the manually entered localization alongside an actual localization done with lead dbs through lead group.
I’ve followed Ningfei’s advice of setting up the reco variable for the manual entered localization and putting that into a blank subject folder, and that loads OK with the 3D visualization through lead dbs.
However, when I try to visualize the two localizations together in lead group, I get the following error:
Cell contents reference from a non-cell array object.
Error in ea_showelectrode (line 34)
Error in ea_trajectory>update_trajectory (line 242)
Error in ea_trajectory (line 159)
Error in ea_elvis (line 164)
Error in lead_group>vizbutton_Callback (line 545)
Error in gui_mainfcn (line 95)
Error in lead_group (line 42)
Error while evaluating UIControl Callback.
It seems to do specifically with the manually entered localization as the lead group 3d visualization works fine if I just select the subject localized with lead dbs. I suspect it has to do with the fact that there is no further imaging/trajectory information available for the manually entered localization subject for the lead group script to use.
I am running matlab 2017b and lead suite 184.108.40.206