Statistical Parametric Mapping refers to the construction and assessment of spatially extended statistical processes used to test hypotheses about functional imaging data. These ideas have been instantiated in a free and open source software that is called SPM (https://www.fil.ion.ucl.ac.uk/spm/).
Add SPM path to Matlab
>> addpath( '/trdapps/linux-x86_64/matlab/toolboxes/spm12/' )