ChristianGaser / tfce

Threshold-free cluster enhancement toolbox for Matlab
GNU General Public License v2.0
7 stars 0 forks source link

Unrecognized function or variable 'cat_get_defaults'. #1

Closed RJMullins closed 4 months ago

RJMullins commented 1 year ago

This used to work - I'm on macOS 12.6.3, matlab R2022a, SPM12 7771. I'm using TFCE as an SPM12 toolbox in the toolbox subfolder.

Would installing CAT12 get around this for now?

SPM12: cat_spm_results_ui 22:24:43 - 27/03/2023

SPM computation                 :                        ...done

Unrecognized function or variable 'cat_get_defaults'.

Error in cat_spm_results_ui (line 1116) [csv_files, n_csv] = cat_vol_findfiles(cat_get_defaults('extopts.pth_templates'), '*.csv');

Error in cat_spm_results_ui (line 494) hAtlasUI = cat_spm_results_ui('SetupAtlasMenu',Finter);

Error while evaluating DestroyedObject Callback.

lrq3000 commented 4 months ago

I have the latest CAT12 toolbox in spm12/toolbox/cat12 and indeed I did not get this error, the Estimate TFCE job completed fine.

ChristianGaser commented 4 months ago

Added checks for additional cat-tools that should be ignored if CAT12 is not installed.