Dear Maaly and Rouhollah,
given that you are using SPM12, the simplest would be to change
spm_defaults.m line 49 such that it reads:
defaults.mat.format = '-v7.3';
or, better, create a file called spm_my_defaults.m in your MATLAB path
containing:
global defaults
defaults.mat.format = '-v7.3';
Also, note that, if you have already specified first-level models for
each subject (i.e. you have individual SPM.mat files), then you can
create a fixed-effect model automatically with the batch module:
SPM > Stats > Mixed-effects (MFX) analysis > FFX Specification
(provided all subjects have the same number of parameters for each session).
Best regards,
Guillaume.
On 03/07/16 14:27, Rouhollah Abdollahi wrote:
> Dear Maaly
>
> "help save" says that you need to have 64-Bit operating system. Do you
> run Matlab on 64 Bit ?
> you can also check which version SPM is using for save by using:
> *spm_get_defaults('mat.format'), *for me it shows -v6
>
> if not then you may change line 732 in "spm_spm.m" using
>
> save( 'SPM.mat', SPM , '-v7.3' )
>
> Best Regards
> Rouhollah Abdollahi
>
> *Institut für Neurowissenschaften und Medizin (INM-3)*
> Forschungszentrum Jülich
> Leo-Brandt-Straße
> 52425 Jülich, Germany
>
> Tel: +49 2461 61-9324
>
>
>
>
> On Sun, Jul 3, 2016 at 3:13 PM, Maaly Nassar
> <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> Dear Rouhollah
>
> The problem is that I did change the preferences and I'm still
> getting this warning (attached image) and the SPM.mat file still
> can't be saved after estimating the model. do you know a way to
> override spm original saving code? so on executing "writing spm"
> function, -v7.3 is used instead.
>
> Thanks,
>
> maaly
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|