Dear Rajnish,
Such an error message often occurs when SPM expects an additional cell
"level", so when you inspect your batch and call
matlabbatch{1,1}.spm.temporal.st.scans it should return
>> matlabbatch{1,1}.spm.temporal.st.scans
ans =
1x1 cell array
{frames x 1} cell
instead of just
ans =
frames x 1 cell array
Hope this helped.
Kind regards,
PS
Am 17.04.2020 um 13:55 schrieb Rajnish K Gupta:
> Dear Experts,
> I am getting the following error to run 'matlabbatch' through spm_jobman
> for slice timing correction for SPM12.
>
> Item 'Session', field 'val': Value must be either empty, a cellstr or a
> cfg_dep object.
> Item 'Session', field 'val': Value must be either empty, a cellstr or a
> cfg_dep object.
>
> Error using spm_jobman>fill_run_job (line 472)
> No executable modules, but still unresolved dependencies or incomplete
> module inputs.
>
> Error in spm_jobman (line 247)
> sts = fill_run_job('run', cjob, varargin{3:end});
>
> Other preprocessing scripts are working fine, with a similar type of
> script. Any suggestions would be appreciated?
>
> --
> Regards,
> *RAJNISH *
|