help > RE: Volume Mapping Errors
Sep 10, 2018  11:09 AM | avantika mathur - UNL
RE: Volume Mapping Errors
Hi
I am facing the same error while opening the file. What is the solution for the same? I am using MATLAB 2017 and latest version (v 1.61) of BrainNet.

Following is the error
Invalid MEX-file
'/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64':
dlopen(/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64,
6): Library not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64
Reason: image not found.

Error in read_extras (line 21)
if BrainNet_spm_existfile(mname),
Error in nifti (line 28)
extras = read_extras(fname);
Error in spm_vol_nifti (line 19)
N = nifti(P);
Error in spm_vol>spm_vol_hdr (line 128)
V = spm_vol_nifti(p,n);
Error in spm_vol (line 61)
v = spm_vol_hdr(deblank(P(i,:)));
Error in BrainNet_LoadFiles>VF_load (line 450)
hdr=spm_vol(filename); %%% Edited by Mingrui Xia, 111026, integrated SPM NIFTI into BrainNet Viewer.
Error in BrainNet_LoadFiles>OK_button_Callback (line 196)
[surf.hdr,surf.vol]=VF_load(File.VF);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet_LoadFiles (line 56)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainNet_LoadFiles('OK_button_Callback',hObject,eventdata,guidata(hObject))
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
Invalid MEX-file
'/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64':
dlopen(/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64,
6): Library not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/postdoc/Mtools/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64
Reason: image not found.
Error in read_extras (line 21)
if BrainNet_spm_existfile(mname),
Error in nifti (line 28)
extras = read_extras(fname);
Error in spm_vol_nifti (line 19)
N = nifti(P);
Error in spm_vol>spm_vol_hdr (line 128)
V = spm_vol_nifti(p,n);
Error in spm_vol (line 61)
v = spm_vol_hdr(deblank(P(i,:)));
Error in BrainNet_LoadFiles>VF_load (line 450)
hdr=spm_vol(filename); %%% Edited by Mingrui Xia, 111026, integrated SPM NIFTI into BrainNet Viewer.
Error in BrainNet_LoadFiles>OK_button_Callback (line 196)
[surf.hdr,surf.vol]=VF_load(File.VF);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet_LoadFiles (line 56)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainNet_LoadFiles('OK_button_Callback',hObject,eventdata,guidata(hObject))
Error using uiwait (line 81)
Error while evaluating UIControl Callback.

Threaded View

TitleAuthorDate
Delin Sun May 30, 2018
Mingrui Xia Jun 4, 2018
Xiangyu Long Aug 3, 2018
Mingrui Xia Aug 4, 2018
Xiangyu Long Aug 10, 2018
RE: Volume Mapping Errors
avantika mathur Sep 10, 2018