Dear spm-users,
 

I encountered a few problems when running the file spm_bch_DoCont.m  to calculate the specified contrasts, which have been defined
using spm_bch_GetCont.m
The following error appears:
 
===============================================================
Computing T contrast 2 of 4: test Session 1

sX =

    ukX1o: [32x1 double]

??? Error using ==> spm_sp
only sets numeric matrices

Error in ==> /usr/local_rinda/src/SPM/spm99/spm_SpUtil.m
On line 579  ==> if ~spm_sp('isspc',sX), sX = spm_sp('Set',sX); end;

Error in ==> /usr/local_rinda/src/SPMscr/beatse/mfiles/f99_DoCont.m
On line 355  ==>        [trMV,trMVMV] = spm_SpUtil('trMV',xCon(i).X1o,xX.V);

===============================================================

However, if I run the same file in spm99b, it seems to work well. So, the difference should be in the file spm_SpUtil.m???
Do you have any idea what could be the problem here?
Is there a more recent version of spm_SpUtil.m???

Any help is welcome!
 

        Thanks in advance,
 

           Erik

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Erik Beatse                   
 Department of Radiology, KUL MR Research Centre
 University Hospital Gasthuisberg, K.U.Leuven
 Herestraat 49, B-3000 Leuven (Belgium)
 Phone: +32 16 347753, Fax  : +32 16 343765             
 mailto:[log in to unmask] 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~