Error using GCA in REST v1.8

Submitted by Yuanyuan on

Dear Yan and other professors, 

I am using Mac OS 10.14.4, MATLAB R2016bSPM12 and REST v1.8 running for GCA. But I got some errors in the when I click the Compute button. This Error Dialog poped up. 

Exception occured: Error using rest_progress (line 29) 

Input arguments of type matlab.ui.Figure not valid 

In the MATLAB, it displayed: 

Operands to the || and && operators must be convertible to logical scalar values.
 
Error in rest_gca_gui>UpdateDisplay (line 211)
if (theOldIndex>0) && (theOldIndex<= theCount)
 
Error in rest_gca_gui>SetDataDir (line 200)
        UpdateDisplay(handles);
 
Error in rest_gca_gui>btnSelectDataDir_Callback (line 130)
SetDataDir(hObject, theDir,handles);
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in rest_gca_gui (line 39)
    gui_mainfcn(gui_State, varargin{:});
 
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)rest_gca_gui('btnSelectDataDir_Callback',hObject,eventdata,guidata(hObject)) 
Error while evaluating Menu Callback
 
Exception occured. (MATLAB:waitbar:InvalidInputs)
Error using rest_progress (line 29)
Input arguments of type matlab.ui.Figure not valid.
29#line, rest_progress, in "/Users/yinyuanyuan/Documents/MATLAB/REST_V1.8_130615/rest_progress.m"
66#line, rest_waitbar, in "/Users/yinyuanyuan/Documents/MATLAB/REST_V1.8_130615/rest_waitbar.m"
918#line, btnComputeGCA_Callback, in "/Users/yinyuanyuan/Documents/MATLAB/REST_V1.8_130615/rest_gca_gui.m"
95#line, gui_mainfcn, in "/Applications/MATLAB_R2016b.app/toolbox/matlab/guide/gui_mainfcn.m"
39#line, rest_gca_gui, in "/Users/yinyuanyuan/Documents/MATLAB/REST_V1.8_130615/rest_gca_gui.m"
0#line, @(hObject,eventdata)rest_gca_gui('btnComputeGCA_Callback',hObject,eventdata,guidata(hObject)), in "/Applications/MATLAB_R2016b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/read.m"
 

It will be helpful if someone can give me some guidances.

Looking forward to your reply.

 

Attachment Size
21831587107567_.pic_hd.jpg 312.55 KB
Forums