Mex function doesn't work after upgraded to Catalina MacOS...

25 visualizaciones (últimos 30 días)
Yue Zhang
Yue Zhang el 21 de Nov. de 2019
Respondida: Pablo Saucedo Alvarado el 22 de Nov. de 2020
I was running spm12 which is a fMRI analysis. But matlab asked me to move all mexmaci64 files into trash. After I did that, none of the codes worked anymore. I have Matlab 2019b.

Respuestas (1)

Pablo Saucedo Alvarado
Pablo Saucedo Alvarado el 22 de Nov. de 2020
macOS Catalina[edit]
If you have issues with MEX files on macOS Catalina (""*.mexmaci64" cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware" or "Code signature not valid for use in process using Library Validation: library load disallowed by system policy"), open a Terminal, cd to the SPM directory and type:
find . -name "*.mexmaci64" -exec xattr -d com.apple.quarantine {} \;

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by