> Cyril,
> The file "spm_slect" in SPM8 doe snot have a line 122 it only has 100
> lines.
> Michael
ok weird - that's right spm_select is fine ..
from your message
SPM8 07:45:49 - 15/09/2009
=======================================================
=================
SPM8: se_anatomy (v2.15) 07:45:52 - 15/09/2009
=======================================================
=================
??? Error using ==> finite
FINITE is obsolete. USE ISFINITE instead.
Error in ==> spm_select>selector at 122
if ~finite(n(1)), n(1) = 0; end;
Error in ==> spm_select at 99
[t,sts] = selector(varargin{:});
Error in ==> se_anatomy at 23
MapName = spm_select(1,'mat',['Select Map'],[],spm('Dir','se_anatomy'),'MPM.',1);
??? Error while evaluating uicontrol Callback
I guess there is a selector.m ?
I don't have the toolbox installed but the finite / isfinite is a matlab
issue, not spm -- you have to change the code to isfinite or as
suggested write a quick try / catch / end so it handles different
version a matlab ..
good luck
cyril
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|