Hello,
SPM99 crashes on some of our users under Matlab 6.5 (R13) with similar
messages:
??? Error using ==> svd
Function 'svd' is not defined for values of class 'logical'.
Error in ==> <dir>/matlab/toolbox/matlab/matfun/rank.m
On line 12 ==> s = svd(A);
Error in ==> <dir>/spm99/spm_FcUtil.m (sf_is_T)
On line 942 ==> if rank(c) > 1 | any(any(c'*c < 0)), boul = 0; end;
The crash is caused by changes applied to Matlab between 6.1 (R12.1) and
6.5 (R13) related to the "logical" type. The attached patches from
Philippe Ciuciu fix the problem for us.
--
Dimitri Papadopoulos
|