Dear Ben,
just check with "which spm" what spm file is called. It is definitive not the spm5 file which you are calling, since the line 298 is different, and - of course - SPM5 has as additional 'Modality' the 'EEG' features, which is missing in the line you are citing
Karsten
--
-------------------------------------------------------------
Karsten Specht, PhD
Department of Biological and Medical Psychology
& National Competence Centre for functional MRI
University of Bergen
Jonas Lies vei 91
5009 Bergen
Norway
Tel.: +47-555-86279
Fax: +47-555-89872
[log in to unmask]
http://fmri.uib.no/
> Hi All,
> I decided to move to spm5 from spm2 (w2k, matlab7). I did all the steps
> described on the spm-page and the spm-wiki (mainly copying all the files
> into a new spm5-dir and adding the path, old spm2 path removed). Starting
> spm5 I get the following messages:
>
> ####
> Warning: File: c:\MATLAB7\spm5\spm.m Line: 326 Column: 18
>
> The expression on this line will generate an error when executed. The
> error will be: Maximum recursion limit of 500 reached. Use
> set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding
> your available stack space can crash MATLAB and/or your computer.
> ####
>
> which is repeated for every line in the spm.m ending up with:
>
> ####
> ??? Error using ==> char
> Too many input arguments.
>
> Error in ==> str2mat at 20
> s = char(varargin{:});
>
> Error in ==> spm at 298
> Modalities = str2mat('PET','FMRI');
> ####
>
> I tried the spm5 with and without the spm5-update. I also did the correct
> unzipping (uncheck smart CR/LF conversion). Didn't help.
>
> Any suggestion what I have done wrong? Did anyone have the same probelms?
>
> Thanks in advance,
> Ben
|