Invalid Mex-File

4 visualizzazioni (ultimi 30 giorni)
Albert Piersson
Albert Piersson il 6 Lug 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.

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by