*Dear Sir,* I would like to ask two questions about spm and matlab into executable 1.*In my Matlab program, I use the Smooth Module of *SPM8 *for processing, but further compiler to executable file, it can't work. Could you assist me how to solve?* Here is my source code *a.Smooth.m* function Smooth() nrun = 1; % enter the number of runs here jobfile = {'C:\Work\TMU\Project\MAP_GUI\20190819\Smooth_job.m'}; jobs = repmat(jobfile, 1, nrun); inputs = cell(0, nrun); for crun = 1:nrun end spm('defaults', 'FMRI'); spm_jobman('serial', jobs, '', inputs{:}); *b.Smooth_job.m* matlabbatch{1}.spm.spatial.smooth.data = { 'C:\Work\TMU\Project\MAP_GUI\20190819\O_EP57.nii,1'}; matlabbatch{1}.spm.spatial.smooth.fwhm = [8 8 8]; matlabbatch{1}.spm.spatial.smooth.dtype = 0; matlabbatch{1}.spm.spatial.smooth.im = 0; matlabbatch{1}.spm.spatial.smooth.prefix = 's'; 2.How to obtain the SPM/Standalone? I have reviewed the information of SPM/Standalone in the website https://en.wikibooks.org/wiki/SPM/Standalone#Frequently_Asked_Questions The final result is executable? How do I get that? And how do I call that in Matlab? My System information OS:Windows 10 64bit Matlab version:MATLAB R2019a SPM version:SPM8 Matlab Runtime:9.6 *Thank you very much* *Best regards,* *Yi Chen* *TMU **Research assistant*