Hi, Chao-gan
Every time I try to open the Viewer of DPABI, it demonstrates the following errors:
Undefined function 'spm_get_bbox' for input arguments of
type 'struct'.
Error in y_spm_orthviews>maxbb (line 1044)
bb = spm_get_bbox(st{curfig}.vols{i}, 'fv', premul);
Error in y_spm_orthviews (line 289)
st{curfig}.bb = maxbb;
Error in DPABI_VIEW>DPABI_VIEW_OpeningFcn (line 106)
y_spm_orthviews('Image',UnderlayHeader);
Error in gui_mainfcn (line 221)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [],
guidata(gui_hFigure), varargin{:});
Error in DPABI_VIEW (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in dpabi>pushbutton_Viewer_Callback (line 199)
DPABI_VIEW
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in dpabi (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)dpabi('pushbutton_Viewer_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Is there something wrong? Can you help me solve this problem?
Thnk you very much!
Best
Qiang
Forums
Please install SPM.
Please install SPM.
Best,
Chao-Gan
I have been using SPM.
Hi, Chao-gan;
I have been using SPM for a long time. The previous version of slicevierer embedded in REST works well as well as other software package like DPARSF. However, the sliceviewer embedded in DPABI did not work. What do you mean by installing SPM. Actually, the SPM8 has been working on the MATLAB. I'm confused.
best
Qiang
You got an error of
You got an error of "Undefined function 'spm_get_bbox' for input arguments of type 'struct'."
That means SPM was not correctly installed (should add with subfolders).
Chao-Gan
The error still exists
Hi, Chao-gan
I added everything I need to the path of MATLAB including all subfolders as I did with the previous version of DPSRSF or REST. I did reinstall the SPM8. The SPM8 works well independently, the DPARSF works well independently and the REST works well independently. Even the other function module of DPABI work well except for sliceviewer. I'm so confused. Any advice for me? Thanks a lot.
Best
Qiang
Keep trying until
Keep trying until
which spm_get_bbox
should not give you an error.
Best,
Chao-Gan