Trouble running glmnet in Matlab R2019b on Mac Os Catalina 10.15
16 views (last 30 days)
Has anybody else encountered problems using the glmnet package on Mac Os Catalina 10.15? I am using Matlab R2019b.
I downloaded the package and saved all files within my working directory. When I try to invoke the glmnet function, I get the following error:
dlopen(/Users/name/Desktop/glmnet_matlab/glmnetMex.mexmaci64, 6): no
suitable image found. Did find:
valid for use in process using Library Validation: library load
disallowed by system policy
I also get an error if I go into my working folder and try to open up the file in question ( glmnetMex.mexmaci64 ) with Matlab. When I do this, I get a pop-up error window saying
Error using Open. Cannot edit the Mex- file.
Any thoughts on how to get around this? Any help is much appreciated.