Invalid Mex-File

3 views (last 30 days)
Albert Piersson
Albert Piersson on 6 Jul 2022
I need some help here, please. I use an iMac, Monterey version, Matlab_R2020a. I have installed Xcode per the compiler requirement for this version. However, I keep getting the following error message:
Invalid MEX-file
'/Users/adp/Downloads/MVPANI_V1.0_20211213/decoding_toolbox_v3/decoding_software/libsvm3.12_mod/libsvm3.12/matlab/svmtrain.mexmaci64':
dlopen(/Users/adp/Downloads/MVPANI_V1.0_20211213/decoding_toolbox_v3/decoding_software/libsvm3.12_mod/libsvm3.12/matlab/svmtrain.mexmaci64,
0x0006): Library not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/adp/Downloads/MVPANI_V1.0_20211213/decoding_toolbox_v3/decoding_software/libsvm3.12_mod/libsvm3.12/matlab/svmtrain.mexmaci64
Reason: tried:
'/Users/adp/Downloads/MVPANI_V1.0_20211213/decoding_toolbox_v3/decoding_software/libsvm3.12_mod/libsvm3.12/matlab/libmex.dylib'
(no such file), '/usr/local/lib/libmex.dylib' (no such file),
'/usr/lib/libmex.dylib' (no such file)
Error in SVMMVPA (line 89)
model = svmtrain(train_label,train_data,modelParemter);
Error in MVPANI>ComputeButton_Callback (line 540)
[Accuracy,Predict_test_Label,SpecificitySensitivity,WeightAll,FeatureAll,IX,Specif_Sensit_acc_fold,MaxDim]=SVMMVPA(handles.Cfg);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in MVPANI (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MVPANI('ComputeButton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!