Jie Zhuang - 2018-08-05

Dear Experts,

I came across some errors when I performed one-sample t-tests using the SPM Stats function in the GIFT Toolbox (v3.0b). I used SPM12 under MATLAB R2017a. See below please find the detail. Could you be kind to give me some suggestions on how to solve this issue? Thank you very much!

Best wishes,
Jie

====================================
Undefined function or variable 'spm_imcalc_ui'.

Error in icatb_spm_avg_runs (line 101)
spm_imcalc_ui(files, fullfile(outputDir, meanOverRunsDir, out_file_name), imCalcFormula, {0, 0, 16, 0});

Error in icatb_spm_stats (line 256)
icatb_spm_avg_runs(parameter_file);

Error in icatb_utilities (line 52)
icatb_spm_stats;

Error in gift>utilities_Callback (line 135)
icatb_utilities(lower(selectedString));

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

Error in gift (line 30)
gui_mainfcn(gui_State, varargin{:});

Error while evaluating UIControl Callback.

Error using matlab.ui.control.UIControl/set
Invalid or deleted object.

Error in icatb_promptUI (line 60)
set(popupHandle,'enable','off');

Error in icatb_spm_stats (line 79)
value = icatb_promptUI('popup', 'Select Design', choiceString, 'numeric', InputHandle);

Error in icatb_utilities (line 52)
icatb_spm_stats;

Error in gift>utilities_Callback (line 135)
icatb_utilities(lower(selectedString));

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

Error in gift (line 30)
gui_mainfcn(gui_State, varargin{:});

Error while evaluating UIControl Callback.