Dear SPM people, I'm new to SPM. I regularly use AFNi and I would like to learn SPM. I'm trying to run the demo "Advanced Event-related fMRI - Repetition priming" from the SPM website. I'm following the indications but I have the following error when I'lm trying to run the script "face_rep_spm12_batch.m" : SPM12: spm_fMRI_design (v5183) 13:38:14 - 30/05/2017 ======================================================================== Failed 'fMRI model specification' Error using spm_hrf Too many input arguments. In file "C:\Matlab_tbx\spm12\spm_get_bf.m" (v4473), function "spm_get_bf" at line 131. In file "C:\Matlab_tbx\spm12\spm_fMRI_design.m" (v5183), function "spm_fMRI_design" at line 200. In file "C:\Matlab_tbx\spm12\spm_fmri_spm_ui.m" (v6088), function "spm_fmri_spm_ui" at line 183. In file "C:\Matlab_tbx\spm12\config\spm_run_fmri_spec.m" (v6157), function "spm_run_fmri_spec" at line 360. I was thinking that it could be an error with the line defining the hrf matlabbatch{2}.spm.stats.fmri_spec.bases.hrf.derivs = [1 1]; But I saw this line like this in several other examples I have Matlab R2016b and SPM12 (updated) Could anyone tell me what I'm doing wrong? Thanks a lot by advance. Alain