Viewer in DPABI is not working

Submitted by IngaTasche on

Hello Dr. Chao-Gan,

I am currently trying to make Resting-State-Networks visible by using matlab->dpabi->viewer. But every time i try to open the viewer-function, matlab is showing me the following error-messages:

Undefined function 'file2mat' for input arguments of type 'struct'.

Error in file_array/subsref>subfun (line 80)
t = file2mat(sobj,varargin{:});

Error in file_array/subsref (line 60)
    t = subfun(sobj,args{:});

Error in file_array/numeric (line 13)
out = subsref(fa,struct('type','()','subs',{vo}));

Error in file_array/double (line 11)
out = double(numeric(fa));

Error in y_Read (line 71)
    Data = double(Nii.dat);

Error in y_ReadRPI (line 41)
[Data,Header] = y_Read(FileName,VolumeIndex);

Error in DPABI_VIEW>DPABI_VIEW_OpeningFcn (line 94)
[UnderlayVolume UnderlayVox UnderlayHeader] = y_ReadRPI(UnderlayFileName);

Error in gui_mainfcn (line 220)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in DPABI_VIEW (line 44)
    gui_mainfcn(gui_State, varargin{:});

Error in dpabi>pushbutton_Viewer_Callback (line 173)
DPABI_VIEW

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in dpabi (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)dpabi('pushbutton_Viewer_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

 

I tried with matlab 2013b and 2019b but none is working.  Do you have a solution for the problem?

Thank you very much in adavance,

Inga T.