Invalid Mex-File

4 次查看(过去 30 天)
Albert Piersson
Albert Piersson 2022-7-6
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by