Just noticing Anderson's answer after sending my email: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=FSL;83f0963c.1810 It is important to update the entire @file_array directory (and not just the MEX files); you will otherwise very likely run into some other incompatibility issues due to related changes in the MEX file and the rest of the library. I also agree with Anderson about the error during compilation - the error message is odd as it doesn't correspond to the code in the toolbox: https://github.com/andersonwinkler/PALM/blob/master/fileio/%40file_array/private/Makefile#L8 Best regards, Guillaume. On 01/10/2018 10:28, Guillaume Flandin wrote: > Dear Clare, > > The compiled MEX files distributed with PALM are indeed a bit old and not compatible with recent versions of MATLAB on macOS. The simplest solution would be to copy the new versions from SPM12: > https://github.com/spm/spm12 > i.e. replace the directories @file_array, @gifti, @nifti, @xmltree from PALM/fileio with the ones from SPM12. > As for spm_existfile (in PALM/fileio/extras), replace it with this one: > https://github.com/spm/spm12/raw/master/spm_existfile.mexmaci64 > or just remove all of the spm_existfile.mex*: MATLAB will instead use the simpler implementation from spm_existfile.m. > > Best regards, > Guillaume. > -- Guillaume Flandin, PhD Wellcome Centre for Human Neuroimaging UCL Queen Square Institute of Neurology London WC1N 3BG ######################################################################## To unsubscribe from the FSL list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1