Dear Feng,
this is indeed somewhat weird. It looks like the expert mode was not recognized by the Linux server system. You can try to add the following line to your batch to force the expert mode:
matlabbatch{1}.spm.tools.cat.estwrite..extopts.expertgui = 1;
It might also work if you create a customized cat_default file with your own settings and you call CAT12 from the shell using
cat_batch_cat.sh your_nifti_files -d your_cat_defaults_file.m -m your_matlab_command
This will automatically distribute your files to the available processors. Please check the help function of cat_batch_cat.sh.
Best,
Christian
On Tue, 18 Dec 2018 17:00:04 +0800, chenhf_uestc <[log in to unmask]> wrote:
>Dear CAT experts:
>
>
>
>I came across a problem when I use CAT12 expert mode (my version is CAT12.5 (r1364)). Actually, in my case, I would like to program a batch >code (attached) of the CAT12 expert mode, and tested this code (run the batch) in Personal Computer (Windows), virtual box (Linux) and our >server (Linux). The generated results were the same between Personal Computer (Windows) and virtual box (Linux). However, the results by >using server (Linux) was different from above-mentioned two ways. For example, the results generated by server did not have the folder >“mri_atlas” and in the mri folder, there were only about 10 images (the other two generated about 30 images).
>
>
>
>In addition, if I click the “Run” button on CAT12 expert mode GUI, the results are the same among these three ways (Personal Computer (Windows), virtual box (Linux) and our server (Linux)). Because in the future, we would like to run the batch on our server (Linux). So I am >wondering where is the problem and how could I deal with it?
>
>The report files were also attached.
>
>
>
>Any help would be greatly appreciated!
>
>Best,
>
>Feng
|