Dear SPM experts,
I'm doing some genetic analysis and need to run SPM analysis for
thousands of times.
Therefore, I write the SPM analysis into matlab code so that after I
compile the code I can run the analysis in Linux system backstage.
The problem is that after I compiled the matlab code, there shows an
error saying '??? Undefined function or method 'cfg_get_defaults' for
input arguments of type 'function_handle' ' when it goes to command
'spm_jobman('initcfg')'.
But my code runs well in matlab before compiling.
Can anyone tell me why is it happening and how can I solve it, please?
Thank you and Best Regards,
Li Yue
|