Open the SPM.mat files in matlab 7 and save using the command "save -v6 SPM SPM"
The -v6 command tells matlab to save the file in a matlab 6 compatible version.
Dennis
On Nov 16, 2007 9:26 AM, Antonova, Elena <[log in to unmask]> wrote:
>
>
>
>
> Dear SPMers,
>
> We have added a new t-contrast using Matlab 7.2 (R2006a) and SPM2 contrast
> manager. All the model building and previous contrasts were made using
> Matlab 6.1. This was done unintentionally (through an oversight my
> colleagues used the wrong version of matlab)
>
> Now we cannot open SPM.mat files using Matlab6.1. The error message comes
> up saying that the file might be corrupted. We can open them using SPM2 GUI
> in Matlab 7.2., but cannot run any group analysis using the t-contrasts (old
> or new).
>
> I have tried deleting all the con* and spmT* files from the directories, but
> still cannot open SPM.mat file in Matlab6 with the same error (By the way,
> I do not seem to have xCon.mat files in any of the directories.)
>
> Is there a way to 'restore' the SPM.mat files? The design is individual for
> each subject, with a large number of contrasts, so it will be extremely
> unfortunate if we have to start building the models from the beginning. (we
> have usable SPM.mat back-up files for some, but not all subjects)
>
> Many thanks in advance for any help.
>
> best wishes,
>
> Lena
>
>
>
> P Before printing, think about the environment
>
> *********************************************
> Elena Antonova, PhD
> Post-Doctoral Research Worker
> PO78 Department of Psychology
> Institute of Psychiatry
> King's College London
> De Crespigny Park
> London SE5 8AF UK
> tel: +44 (0)20 7848 0978
> fax: +44 (0)20 7848 0860
> email: [log in to unmask]
>
>
|