Error DPABI viewer under Matlab 2016a

Submitted by David on

Hi,

It seems that I can't run DPABI properly under Matlab 2016a. When I start dpabi I get the following error and the logo doesn't show up (but dpabi starts without showing the logo): 

Undefined function or variable 'imshow'.
 
Error in dpabi>dpabi_OpeningFcn (line 104)
    h = imshow(A, map);
 
Error in gui_mainfcn (line 220)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
 
Error in dpabi (line 42)
    gui_mainfcn(gui_State, varargin{:});
 
the imshow function exists though and Matlab can find it. 
 
Starting the DPABI viewer works, but when I try to add an overlay I get the following error: 
 
Undefined variable "matlab" or class
"matlab.internal.webwindowmanager.instance.findAllWebwindows".
 
Error in matlab.ui.internal.dialog.DialogUtils.disableAllWindowsSafely
 
Error in uigetputfile_helper (line 45)
c = matlab.ui.internal.dialog.DialogUtils.disableAllWindowsSafely();
 
Error in uigetfile (line 122)
[filename, pathname, filterindex] = uigetputfile_helper(0, varargin{:});
 
Error in w_OverlayList>AddOverlay (line 1137)
    [File , Path]=uigetfile({'*.img;*.nii;*.nii.gz','Brain Image Files
    (*.img;*.nii;*.nii.gz)';'*.*', 'All Files (*.*)';}, ...
 
Error in w_OverlayList>Add1_Callback (line 181)
AddOverlay(hObject, handles, 1, 'Btn');
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in w_OverlayList (line 42)
    gui_mainfcn(gui_State, varargin{:});
 
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)w_OverlayList('Add1_Callback',hObject,eventdata,guidata(hObject)) 
Error using uiwait (line 81)
Error while evaluating UIControl Callback

Any idea what the problem could be. I'm using the latest version of DPABI: V2.3_170105, with windows 7 and Matlab2016a. Before I was using Matlab 2014b and this worked fine. 

 

greetings