it seems that the problem is simply that SPM is not on your Matlab path.
Lead DBS essentially needs SPM8 or 12 to run. SPM8 is not really supported anymore but should in principle work for most functions. I’d recommend you download SPM12 (http://www.fil.ion.ucl.ac.uk/spm/software/spm12/), save it to a convenient permanent destination and add it to your Matlab path.
I might be wrong with this diagnosis so please write back if this didn’t solve your problem.
- This reply was modified 4 years, 7 months ago by andreashorn.