Dear DPARSFA experts
when running DPARSFA on Linux as well as Mac platform, we faced the following error that is related to the y_spm_orthviews function and it is already described in the forum:
Function 'subsindex' is not defined for values of class 'matlab.ui.Figure'.
Error in y_spm_orthviews>addcolourbar (line 883)
if st{curfig}.mode == 0,
Error in y_spm_orthviews>addtruecolourimage (line 824)
addcolourbar(1,bset);
Error in y_spm_orthviews (line 511)
addtruecolourimage(varargin{1}, varargin{2},varargin{3}, varargin{4}, ...
Error in y_Call_spm_orthviews (line 149)
y_spm_orthviews('Addtruecolourimage',H,BrainHeader,ColorMap,1-Transparency,PMax,NMax);
Error in DPARSFA_run (line 2983)
H = y_Call_spm_orthviews(Ch2Filename,0,0,0,18,Filename,jet(64),0,250,H,0.8);
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DPARSFA (line 30)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating UIControl Callback
Is there any solution other than commenting this function out?
Thanks in advance
Best regards
Jürgen
This usually happens when
This usually happens when your matlab version is too new. What's your matlab version?