MEX Files


Group ICA MEX binaries

We now provide C-MEX files for computing eigen values of a symmetric matrix. The compiled MEX binaries are used only when you select packed storage scheme for computing covariance matrix during the second or third data reduction stage. To compile the MEX source code, type icatb_compile_mex_files at the MATLAB command prompt. The source code is located in icatb/icatb_mex_files/src.

SPM MEX binaries

We use SPM volume functions to read and write image data and prefix those files with icatb_. Since SPM5 writes analyze images with a Nifti field in it, we use SPM2 functions to write analyze images. If you get "Bad image handle dimensions" error while loading the data follow any of the instructions below: