Print

Print


Re: [SPM] Creating contrasts with a BATCH Hi Nicholas,

I’m pretty much guessing here, but I have exactly the same error as you.  The analysis worked when I tried it out on some dummy data, so it’s not the program for sure.  I think you might have an error in your contrast specification – I for sure do, so that’s what I’ll be trying out, but that will take me all night :(

Good luck with it,
Jane


On 2/2/05 10:30 pm, "Nicholas Masse" <[log in to unmask]> wrote:

Hi everyone.

I'm using a BATCH file to design, estimate and create contrasts for a matrix that is modified from Karl Friston's spm_batch.m. The batch works perfectly designing and estimating the matrix, but when it comes time to create the contrasts for it, matlab spits out the following error:

??? Error using ==> spm_FcUtil
not contrast dim. in spm_FcUtil c

Error in ==> SavioTest at 516
SPM.xCon(end + 1) = spm_FcUtil('Set',cname, 'T', 'c',c(:),SPM.xX.xKXs);

 
I'm guessing it's something quite simple to fix, but I don't even know where to begin. Any suggestion would be great.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nicholas Masse, M.Sc.
Research Technician
Neurovascular Research Lab
School of Kinesiology
University of Western Ontario
Rm. 3110 Thames Hall
519.661.2111 x88526
[log in to unmask]
<mailto:[log in to unmask]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~