I have trouble using the function dtiInit. Running it gives the following error:
Undefined function or variable 'spm_get_defaults'.
Error in dtiRawComputeMeanB0 (line 19)
estParams = spm_get_defaults('coreg.estimate');
Error in dtiInit (line 149)
if computeB0, dtiRawComputeMeanB0(dwRaw, bvals, dwDir.mnB0Name, doAlign); end
Vistasoft and SPM (spm12) are in my Matlab (R2018a) path.
Hello,
I have trouble using the function dtiInit. Running it gives the following error:
Undefined function or variable 'spm_get_defaults'. Error in dtiRawComputeMeanB0 (line 19) estParams = spm_get_defaults('coreg.estimate'); Error in dtiInit (line 149) if computeB0, dtiRawComputeMeanB0(dwRaw, bvals, dwDir.mnB0Name, doAlign); end
Vistasoft and SPM (spm12) are in my Matlab (R2018a) path.