andersonwinkler / PALM

PALM: Permutation Analysis of Linear Models
69 stars 28 forks source link

invalid MEX-file Error #11

Closed ShacharGal closed 6 years ago

ShacharGal commented 6 years ago

Dear Anderson, I am trying to run PALM on my data, and have encountered an unfamiliar error. pasting the details below:

Running PALM alpha111 using MATLAB 9.3.0.713579 (R2017b) with the following options: -i copes/concatenated_cope5_sub101-111.dtseries.nii -d design.mat -t design.con -corrcon -o con5res -transposedata Found FSL in /usr/local/fsl Found FreeSurfer in /Applications/freesurfer Found HCP Workbench executable in /Applications/workbench/bin_macosx64/wb_command Reading input 1/1: copes/concatenated_cope5_sub101-111.dtseries.nii Reading design matrix and contrasts. Elapsed time parsing inputs: ~ 3.13173 seconds. Number of possible permutations is 462. Generating 462 shufflings (permutations only). Building null distribution. 0.108% [Design 1/1, Contrast 1/2, Shuffling 1/462, Modality 1/1] Saving file: con5res_dat_tstat_c1 Error using xmltree (/Applications/palm-alpha111/fileio/@xmltree/xmltree.m:40) Invalid MEX-file '/Applications/palm-alpha111/fileio/@xmltree/private/xml_findstr.mexmaci64': dlopen(/Applications/palm-alpha111/fileio/@xmltree/private/xml_findstr.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib Referenced from: /Applications/palm-alpha111/fileio/@xmltree/private/xml_findstr.mexmaci64 Reason: image not found.

could you offer some advise on how to progress from here?

thank you, Shachar Gal

andersonwinkler commented 6 years ago

Hi Shachar,

It appears that more recent versions of Matlab are indeed giving this error. If you have a recent install of SPM that is working, try replacing, from the 'fileio' directory, the directories @file_array, @gifti, @nifti, and @xmltree from the ones you get from SPM. It should hopefully work then.

All the best,

Anderson