open-discussion > Error in CAT12 -
Showing 1-3 of 3 posts
Display:
Results per page:
Jul 10, 2023  02:07 PM | Jack Hartmann
Error in CAT12 -

Hello,


i wanted to create a VBM with CAT12, ofc with MAtLab and SPM12, but there seems to be a mistake somewhere. Whenever i try to check homogenity (alone or inside of the basic model) the following error shows up:


10-Jul-2023 15:30:25 - Running 'Basic models'


Mapping files                           :                        ...done


Design configuration                    :                        ...done


Saving SPM configuration                :               ...SPM.mat saved


Design reporting                        :                        ...done


Completed                               :          15:30:26 - 10/07/2023


 


-------------------------------------------


   Check sample homogeneity


-------------------------------------------


 


Use unsmoothed data


Data are adjusted using design matrix.


Search xml-files


2 report files with quality measures were found.


 


Compressed filenames sample 1: C:\Users\******************************.nii 


Compressed filenames sample 2: C:\Users\******************************.nii 


10-Jul-2023 15:30:28 - Failed  'Basic models'


Unrecognized function or variable 'offset'.


In file "C:\Program Files\MATLAB\R2023a\toolbox\spm12\toolbox\cat12\cat_plot_boxplot.m" (???), function "cat_plot_boxplot" at line 831.


In file "C:\Program Files\MATLAB\R2023a\toolbox\spm12\toolbox\cat12\cat_stat_homogeneity.m" (???), function "show_boxplot" at line 1469.


In file "C:\Program Files\MATLAB\R2023a\toolbox\spm12\toolbox\cat12\cat_stat_homogeneity.m" (???), function "cat_stat_homogeneity" at line 804.


In file "C:\Program Files\MATLAB\R2023a\toolbox\spm12\toolbox\cat12\cat_stat_check_SPM.m" (???), function "cat_stat_check_SPM" at line 198.


In file "C:\Program Files\MATLAB\R2023a\toolbox\spm12\toolbox\cat12\cat_conf_factorial.m" (???), function "cat_run_factorial_design" at line 1443.


 


The following modules did not run:


Failed: Basic models


 


I neither know what is meant with offset nor what i can change to repair CAT12. I already tried updating, but it is the newest version.


This also leads to no boxplot or other graphs being created. I just get an error screen and get asked if i wanna still save the data.


 


If anybody has an idea, i would be extremely grateful.

Jul 11, 2023  05:07 AM | Marcel Daamen
RE: Error in CAT12 -

Hi Jack, 


no specific idea why CAT12 does not work, maybe some technical incompatibility with your very recent Matlab version?


Generally, I would suggest to send your request to the SPM mailing list, Christian Gaser is usually responding very quickly: https://www.fil.ion.ucl.ac.uk/spm/suppor...


Best wishes,


Marcel

Jul 14, 2023  05:07 PM | Elena Lacomba Arnau - Universitat Jaume I
RE: Error in CAT12 -
Have you realigned the images before?