Even after correcting that mistake it is giving me the same error. Any help would be appreciated. -Melissa Quoting [log in to unmask]: > Thanks, I'm running it again, I had missed changing one parameter in one of > my > subject specific m-files which I hadn't thought of looking at, since it had > gone > all the way through that step. So it was looking for 8 conditions instead of > 9. > > -Melissa > > Quoting "K. Prasad" <[log in to unmask]>: > > > Hello, > > > > The length of the contrast needs to be of the same > > size as the number of columns in design matrix > > (including the constant terms). > > > > Hope this helps > > -krishna > > > > --- Melissa Work <[log in to unmask]> wrote: > > > > > Dear SPMers, > > > I've been using SPM99 for awhile now, with few > > > problems. However, while running > > > spm_bch yesterday, I came across an error I've never > > > seen before, despite using > > > this method for over a year now, and not editing any > > > of the spm_*.m files. > > > > > > ">> spm_bch('analyses','FMRI') > > > ??? Error using ==> spm_FcUtil > > > not contrast dim. in spm_FcUtil c > > > > > > Error in ==> /pkg/spm99/spm_bch_GetCont.m > > > On line 68 ==> contrast = > > > spm_FcUtil('Set',names{n}, types{n}, 'c', > > > values{n}, sX); > > > > > > Error in ==> /pkg/spm99/spm_bch.m > > > On line 161 ==> s = spm_bch_GetCont; > > > " > > > > > > Has anyone had this problem? I did some basic > > > debugging, and all I discovered > > > was that the error originates in some code which > > > compares size(c,1) to sL, and > > > that sL = 17, while size(c,1) = 1, and size(c) = 19. > > > > > > Any thoughts? > > > > > > -Melissa Work > > > University of Pennsylvania > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > ===== > > Krishna P. Miyapuram > > Work : Graduate Student, Dept of Anatomy, Univ of Cambridge > > Home : 25, Parkside, Room 10 (Phone +44 - 1223 - 476858 > > Address : Downing College, Regent Street, Cambridge, CB21DQ, England > > URL : http://people.pwf.cam.ac.uk/kpm23/index.html > > > > > > > > __________________________________ > > Do you Yahoo!? > > Jazz up your holiday email with celebrity designs. Learn more. > > http://celebrity.mail.yahoo.com > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/