help > RE: Volume Mapping Error
Sep 10, 2018  06:09 PM | Mingrui Xia
RE: Volume Mapping Error
Hi

I guess you are using the latest Mac OS Sierra. 

There is an compatibility issue between the old compiled file in spm8 and the latest mac os. 

You may try to (i) exclude the spm file folder in BNV in set path and install the latest spm 12, or (ii) use a lower version of matlab. 

Best,
Mingrui
Originally posted by avantika mathur:
Hi
I am facing the error while opening spm Tmap 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
avantika mathur Sep 10, 2018
avantika mathur Sep 10, 2018
RE: Volume Mapping Error
Mingrui Xia Sep 10, 2018