Teodora Stoica - 2021-11-30

I am trying to estimate the number of components using MDL and I keep getting this error - any idea how to fix it? Any help would be appreciated!

Opening GIFT ...
Creating Mask
Default mask includes voxels >= mean. Using first file of each subject to create default mask ...
Done Creating Mask

......................................
Group ICA Error Information:

Undefined function 'mat2file' for input arguments of type 'struct'.

Error in ==> subfun at 164
Error in ==> subsasgn at 85
Error in ==> fun at 74
Error in ==> subsasgn at 20
Error in ==> icatb_write_nifti_data at 41
Error in ==> icatb_update_mask at 104
Error in ==> icatb_estimateCompCallback at 168
Error in ==> estimateCompCallback at 1291
......................................
Error using icatb_displayErrorMsg (line 23)

Error in icatb_estimateCompCallback (line 352)
icatb_displayErrorMsg;

Error in icatb_setup_analysis>estimateCompCallback (line 1291)
[ec, c, m, a, sesInfo] = icatb_estimateCompCallback(handleObj, handles);

Error while evaluating UIControl Callback.