help > Volume Mapping Errors
May 30, 2018  02:05 PM | Delin Sun - Duke-UNC Brain Imaging and Analysis Center
Volume Mapping Errors
Dear Prof. Xia,

I am trying to display volume from a .nii file using the most updated BrainNet Viewer (20171031 version) on a Matlab R2018a platform running on MacOS Sierra. I met the below error messages. I do not know what problem it is and I am looking forward to your feedback. Great thanks!

Bests,
Delin Sun
Duke University

----------------------
Invalid MEX-file '/Users/ds366/Documents/MATLAB/SDLToolBox/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64':
dlopen(/Users/ds366/Documents/MATLAB/SDLToolBox/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64, 6): Library
not loaded: @loader_path/libmex.dylib
Referenced from: /Users/ds366/Documents/MATLAB/SDLToolBox/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/ds366/Documents/MATLAB/SDLToolBox/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64':
dlopen(/Users/ds366/Documents/MATLAB/SDLToolBox/BrainNetViewer_20171031/BrainNet_spm8_files/BrainNet_spm_existfile.mexmaci64, 6): Library
not loaded: @loader_path/libmex.dylib
Referenced from: /Users/ds366/Documents/MATLAB/SDLToolBox/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
Title
Author
Date
Volume Mapping Errors
May 30, 2018