Volkmar, Michael
got the same with the matlab update and other functions of mine ..
change line 122 in spm_select
if ~finite(n(1)), n(1) = 0; end;
to
try
if ~finite(n(1)), n(1) = 0; end;
catch
if ~isfinite(n(1)), n(1) = 0; end;
end
so that the function will handle both finite and isfinite depending the
matlab version you'll be running ..
cyril
--
Dr Cyril Pernet,
fMRI Lead Researcher SINAPSE
SFC Brain Imaging Research Center
Division of Clinical Neurosciences
University of Edinburgh
Western General Hospital
Crewe Road
Edinburgh
EH4 2XU
Scotland, UK
[log in to unmask]
tel: +44(0)1315373661
http://www.sbirc.ed.ac.uk/cyril
http://www.sinapse.ac.uk/
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|