| I have recently purchased MATLAB 5.3.1 to run on my Sun Ultra 30 with
| the intention of ultimately running SPM99.
|
| I have already downloaded and unpacked the SPM99 software, and
| I need some guidance regarding its installation. That is, in terms of
| any compilation to be done, linkage to the MATLAB path and any other
| relevant information that may be of some use.
Getting SPM99 started on a Sun is the easiest bit. Because SPM99 was
developed on Suns, the distribution already contains compiled mex files,
so you do not need to recompile anything.
One thing I can recommend that you do is pick up the fixes that we have
made since the release. These can be obtained from:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99_updates/
The fixes are all bundled into:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99_updates/spm99_updates_000331.tar.gz
and can be unpacked by:
gzcat spm99_updates_000331.tar.gz | tar xvf -
Matlab normally finds SPM from an environmental variable called MATLABPATH.
If you normally use a C-shell, then you can set this variable by editing
your .cshrc file to include the following lines:
if (! $?MATLABPATH) then
setenv MATLABPATH directory_spm99_installed_spm99_in
else
setenv MATLABPATH {$MATLABPATH}:directory_spm99_installed_spm99_in
endif
If you use a Bourne shell (which I am not as familiar with), then you can do
something like:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|