Dear Christian,
Thank you very much for your quick reply.
I tried the attached function, but unfortunately, the result was the same (i.e., a pop-up window appeared saying "An error occurred during job execution..." and progress bar stopped at 67%. And the following error message appeared in the Matlab command window).
##############################################
------------------------------------------------------------------------
29-May-2019 09:39:27 - Running job #1
------------------------------------------------------------------------
29-May-2019 09:39:27 - Running 'Segment longitudinal data'
Running job 1 (with datafield 1):
Check log_cat_long_multi_run_20190529_093927_01.txt for logging information (PID: 931).
_______________________________________________________________
Running job 2 (with datafield 1):
Check log_cat_long_multi_run_20190529_093927_02.txt for logging information (PID: 983).
_______________________________________________________________
Running job 3 (with datafield 1):
Check log_cat_long_multi_run_20190529_093927_03.txt for logging information (PID: 1035).
_______________________________________________________________
Running job 4 (with datafield 1):
Check log_cat_long_multi_run_20190529_093927_04.txt for logging information (PID: 1090).
_______________________________________________________________
Started 4 jobs with the following PIDs:
1) 2 subjects (PID: 931): log_cat_long_multi_run_20190529_093927_01.txt
2) 2 subjects (PID: 983): log_cat_long_multi_run_20190529_093927_02.txt
3) 1 subjects (PID: 1035): log_cat_long_multi_run_20190529_093927_03.txt
4) 1 subjects (PID: 1090): log_cat_long_multi_run_20190529_093927_04.txt
Killing of this process will not kill the parallel processes!
_______________________________________________________________
Process volumes (see catlog files for details!):
1/6 (job 2: 1/2): .._cat_parallelize/Data_NIFTI/1stPre/3/T1
2/6 (job 1: 1/2): .._cat_parallelize/Data_NIFTI/1stPre/4/T1
3/6 (job 2: 2/2): .._cat_parallelize/Data_NIFTI/1stPre/3/T1
4/6 (job 1: 2/2): .._cat_parallelize/Data_NIFTI/1stPre/4/T1
29-May-2019 10:39:24 - Failed 'Segment longitudinal data'
エラー: isstruct (<- It means "Error: isstruct")
入力引数が多すぎます。(<- It means "too many input arguments")
In file "/Users/hippocampus/SPM/spm12/toolbox/cat12/cat_parallelize.m" (v1465), function "cat_parallelize" at line 417.
In file "/Users/hippocampus/SPM/spm12/toolbox/cat12/cat_long_multi_run.m" (v1435), function "cat_long_multi_run" at line 62.
The following modules did not run:
Failed: Segment longitudinal data
##############################################
I'm not sure these are useful to solve the problem, I attached the batch file used in the processing and the "error log mat-file" (i.e., saved file when the pop-up window appeared).
Sincerely,
Takashi
%-----------------------------------------------------------------------
% Job saved on 23-May-2019 20:53:23 by cfg_util (rev $Rev: 7345 $)
% spm SPM - SPM12 (7487)
% cfg_basicio BasicIO - Unknown
%-----------------------------------------------------------------------
matlabbatch{1}.spm.tools.cat.tools.long.subj(1).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/7/T1/s2017-04-24_15-13-151505-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/157/T1/s2017-08-10_13-39-134127-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.subj(2).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/12/T1/s2017-04-25_10-16-104347-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/144/T1/s2017-08-08_10-23-102506-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.subj(3).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/9/T1/s2017-04-24_16-33-163528-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/143/T1/s2017-08-07_15-23-152523-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.subj(4).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/14/T1/s2017-04-25_12-23-123751-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/151/T1/s2017-08-08_15-16-151802-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.subj(5).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/3/T1/s2017-04-24_11-33-113635-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/169/T1/s2017-08-17_13-57-135941-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.subj(6).mov = {
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPre/4/T1/s2017-04-24_12-15-124103-00001-00176-1.nii,1'
'/Users/hippocampus/Desktop/closed_hiroi_cat12_practice/sample_data_re-revision_cat_parallelize/Data_NIFTI/1stPost/170/T1/s2017-08-17_14-42-144433-00001-00176-1.nii,1'
};
matlabbatch{1}.spm.tools.cat.tools.long.nproc = 4;
matlabbatch{1}.spm.tools.cat.tools.long.opts.tpm = {'/Users/hippocampus/SPM/spm12/tpm/TPM.nii'};
matlabbatch{1}.spm.tools.cat.tools.long.opts.affreg = 'mni';
matlabbatch{1}.spm.tools.cat.tools.long.opts.biasstr = 0.5;
matlabbatch{1}.spm.tools.cat.tools.long.opts.accstr = 0.5;
matlabbatch{1}.spm.tools.cat.tools.long.extopts.APP = 1070;
matlabbatch{1}.spm.tools.cat.tools.long.extopts.LASstr = 0.5;
matlabbatch{1}.spm.tools.cat.tools.long.extopts.gcutstr = 2;
matlabbatch{1}.spm.tools.cat.tools.long.extopts.registration.dartel.darteltpm = {'/Users/hippocampus/SPM/spm12/toolbox/cat12/templates_1.50mm/Template_1_IXI555_MNI152.nii'};
matlabbatch{1}.spm.tools.cat.tools.long.extopts.vox = 1.5;
matlabbatch{1}.spm.tools.cat.tools.long.extopts.restypes.fixed = [1 0.1];
matlabbatch{1}.spm.tools.cat.tools.long.output.surface = 0;
matlabbatch{1}.spm.tools.cat.tools.long.ROImenu.atlases.neuromorphometrics = 1;
matlabbatch{1}.spm.tools.cat.tools.long.ROImenu.atlases.lpba40 = 0;
matlabbatch{1}.spm.tools.cat.tools.long.ROImenu.atlases.cobra = 0;
matlabbatch{1}.spm.tools.cat.tools.long.ROImenu.atlases.hammers = 0;
matlabbatch{1}.spm.tools.cat.tools.long.modulate = 1;
matlabbatch{1}.spm.tools.cat.tools.long.dartel = 0;
|