Hi Lili Wu, Before starting SPM5, use the following command: feature('JavaFigures', 0) good luck, Mohamed Lili Wu wrote: > Hi all, > want to do the t- test in spm, but it always returnthe error " no > valid contrast defined". > I define two conditions in the 1st-level modle, input the onset times > and the output design matrix have three columns(condition a, condition > b and covariates). > Open results> specigy the SPM.mat> define the contrast. I have tried > to input > 1 -1(or 1 0 ), then the error returns said' no valid contrast defined'. > I don't know why this problem appears, Is this because the inproper > spm install or incorrect contrast difine? > The image of the error is attached. > Lili Wu > > ------------------------------------------------------------------------ > ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡ <http://cn.mail.yahoo.com/> > ------------------------------------------------------------------------ >