Dear Jeroen,
I guess there should be also a warning like:
Saving SPM configuration : Warning: Variable 'SPM' cannot be saved to a MAT-file whose version is older than 7.3.
To save this variable, use the -v7.3 switch.
In this case it helps to set the following flag in the spm_defaults.m file:
defaults.mat.format = '-v7.3'; % options: '-mat', '-v6', '-v7.0', '-v7.3'
Best,
Christian
On Mon, 29 May 2017 15:23:20 +0100, Jeroen Blommaert <[log in to unmask]> wrote:
>Dear CAT12 users/developers,
>
>I'm trying to run a longitudinal sbm using CAT12 using a flexible factorial model.
>However when I try to run estimate surface model I get following error:
>
>Reference to non-existent field 'xY'.
>
>Error in cat12>pushbutton5_Callback (line 180)
> if exist(fsavgDir,'dir') == 7 &&amp;
> SPM.xY.VY(1).dim(1) == 163842
>
>Error in gui_mainfcn (line 95)
> feval(varargin{:});
>
>Error in cat12 (line 76)
> gui_mainfcn(gui_State, varargin{:});
>
>Error in
>matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)cat12('pushbutton5_Callback',hObject,eventdata,guidata(hObject))
>Error while evaluating UIControl Callback
>
>I'm running matlab 2012a on a scientific linux cluster using cat12 version r1113 and spm v6906.
>I also tried running it on a personal macbook with matlab 2016a with same cat and spm version.
>
>Anyone an idea what could be the problem? The same model is running perfectly for DBM and VBM using cat12
|