To me, it looks like there was a problem in unpacking SPM5. The save.m
file should be in a subdirectory called @xmltree . I'm not sure how the
spm5.tar.gz file was unpacked, but there should be a setting in the
unpacking software that allows the correct directory structure to be
preserved. Check to see whether or not @xmltree\save.m exists (or
indeed whether there is anything in the @xmltree, @nifti, templates etc
folders). If these are empty, then the unpacking is probably the cause
of the problem.
Best regards,
-John
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of Olivier Salvado
Sent: Thursday, December 14, 2006 8:17 PM
To: [log in to unmask]
Subject: Re: [SPM] problem installing SPM5...
Darren,
Thanks for the suggestions.
There is no spm.m before I add the spm folder to the path.
After the folder is added to the path, the correct spm.m is recognized.
After I add the spm folder to the matlab path, I do save it. However the
new
added folder properly disappeared when my matlab breaks down after I
start
spm and restart Matlab. If I add the folder, quite matlab and come back
it
disappears also (I can add any other folders without problem).
After I start spm and gets this error below upon the recursive
explosion, my
matlab is really messed up. For example it cries when I move my cursor
over
a simple plot with all sorts of bad words. It seems that the bunch of
spm
functions that use existing matlab function names are messing up the
regular
Matlab bahavior. I quite don't understand how one can install the spm
folder
in the path and still use the regular save matlab command while such a
function is overloaded by the save.m in the spm folder at the beginning
of
the path.
I am really puzzled, it must be something wrong with my computer setup
since
I seem to be the only one with this problem. I have used a bit spm2 on
my
old computer and now I would like to use this new version on my new
computer
and I am very frustrated. I guess I can try to install spm2 on my
computer,
and try to install spm5 on a different computer.
Olivier
__________________________________________________
Olivier Salvado, PhD
Case Western Reserve University | Case Center for Imaging Research
University Hospitals of Cleveland | Department of Radiology | Wearn B49
11100 Euclid Av. | Cleveland, OH 44106 | Ph. (216) 983 3426
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On
Behalf Of Darren G
Sent: Thursday, December 14, 2006 13:47
To: [log in to unmask]
Subject: Re: [SPM] problem installing SPM5...
Oliver:
It sounds like there may be a function interfering with SPM resulting in
the
recursive calls. Try starting matlab and typing which spm
If matlab finds a file called spm (before you actually add the spm path)
then perhaps you either have some other spm installation or this is a
file
that you or someone else made to call the actual spm.m file but it
results
in both spm.m files being called recursively.
As far as the permanence of the path- first check the issues above.
Matlab
does not save paths you add unless you tell it explicitly to do so
either by
using the pathtool and clicking save or by using the savepath command.
hope this helps,
darren
==============Original message text=============== On Thu, 14 Dec 2006
10:09:30 am CST Olivier Salvado wrote:
Hello,
This is probably a dumb problem but I cannot figure it out, and I could
not
find anything in the mailing list archive which makes me feel even more
like
an idiot.
I struggle installing SPM on Windows XP, Matlab 2006b. I copied all the
SPM
files into a SPM folder, including the latest update (665).
1) when I prepend the SPM folder to the matlab path, and I type SPM at
the
matlab prompt, it goes through a recursion spree until it reaches 500
iterations and stops with an error (see below). Of course SPM is broken
and
when I close and open Matlab again the SPM folder has been mysteriously
removed from the path.
>> spm
Warning: File: spm.m Line: 337 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.
Warning: File: spm.m Line: 345 Column: 34
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.
Warning: File: spm.m Line: 352 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.
> In spm at 313
??? Error using ==> spm_defaults
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.
Error in ==> spm at 313
spm_defaults;
>>
2) if I go inside the SPM folder, I get a window warning me that some of
the
files use Matlab function name. If I try to start SPM from its folder I
get
a list of warnings and the same error as in 1)
Can someone clue me?
Olivier Salvado
Case Western Reserve University.
===========End of original message text===========
--------------------------------
Darren R. Gitelman, M.D.
Department of Neurology
Northwestern Univ., 320 E. Superior St., Searle 11-470, Chicago, IL
60611
Voice: (312) 908-9023 Fax: (312) 908-8789
--------------------------------
|