Invalid Mex-File

4 vues (au cours des 30 derniers jours)
Albert Piersson
Albert Piersson le 6 Juil 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.

Réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by