Dear Jodie,
I presume you have a 4D NIfTI file (containing a series of 3D volumes
over time) - if so, have a look at this page on how image files should
be selected in the batch interface:
https://en.wikibooks.org/wiki/SPM/Working_with_4D_data
If that was the source of the problem, I would have expected a more
explicit error message but I don't remember how it was working for SPM8.
On that note, I would strongly recommend to switch to SPM12.
Best regards,
Guillaume.
On 23/06/2021 14:49, Davies-Thompson J. wrote:
> Dear SPM experts,
>
> I am attempting to run a basic blocked design analysis, but am having
> some difficulties at the design specification stage. Below is the error
> I am getting. I have tried fixing it with the following, but still get
> the same error message:
>
> 1. Running it with and without the motion included as a regressor
> 2. Only including 2 onsets and durations (in case I made an error with
> how long the experiment lasts for)
> 3. Running it using nii, nii.gz, and hdr/img
>
> Some notes - it is a simple blocked design, and there is only one swr*
> file which is an nii file (is this a problem - does it have to be
> multiple nii files? In which case, how do you unzip to one file per
> volume using matlab - gunzip only extracts from nii.gz to a singular nii
> file).
>
> ---
> Failed 'fMRI model specification'
> Brace indexing is not supported for variables of this type.
> In file "C:\Users\BoAtMaNeM_CaSsIoPeIa\Desktop\spm8\spm_Ce.m" (v3527),
> function "spm_Ce" at line 53.
> In file "C:\Users\BoAtMaNeM_CaSsIoPeIa\Desktop\spm8\spm_fmri_spm_ui.m"
> (v4421), function "spm_fmri_spm_ui" at line 345.
> In file
> "C:\Users\BoAtMaNeM_CaSsIoPeIa\Desktop\spm8\config\spm_run_fmri_spec.m"
> (v4185), function "spm_run_fmri_spec" at line 301.
>
> The following modules did not run:
> Failed: fMRI model specification
> ----
>
> Are there any other things I could try to fix the problem?
>
> Many thanks,
> Jodie
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|