Your VOI's must be from a second level analysis. There are 122 voxels in the VOI but these are from only 24 scans. The VOI's must be from a first level analysis. The eigenvariate button is the correct one to use. Darren > -----Original Message----- > From: Rodolphe [mailto:[log in to unmask]] > Sent: Wednesday, April 02, 2008 2:35 AM > To: d gitelman > Subject: Re: [SPM] DCM problem > > Thx for the advices, i typed these commands, No problem for > the spm.mat there is a sess field. > But for my VOI i just obtained: > xyz: [3x1 double] > name: 'VOI-1' > Ic: 0 > def: 'sphere' > spec: 8 > XYZmm: [3x122 double] > X0: [24x0 double] > y: [24x122 double] > u: [24x1 double] > v: [122x1 double] > s: [24x1 double] > > I created them with the eigenvariate button, maybe this is a > mistake... > > > > 2008/4/1, d gitelman <[log in to unmask]>: > > Hi Rodolphe > > Please try the following. > > Start Matlab and spm5. At the prompt type > > % select the same SPM.mat file you are using > % for DCM > >> load(spm_select(1,'SPM.mat')) > >> SPM.Sess > > if there is an error then the SPM.mat file is at fault. > if there is no error type the following. > > % select each of you VOI files in turn > >> load(spm_select(1,'mat')) > >> xY > > See if there is field called Sess, then load the next > VOI. Based on what you > are saying my guess is that one of your VOI files is > incorrect and does not > have a Sess field. > > Darren > > > > > > > -----Original Message----- > > From: Rodolphe [mailto:[log in to unmask]] > > Sent: Tuesday, April 01, 2008 8:33 AM > > To: d gitelman > > Subject: Re: [SPM] DCM problem > > > > Dear Darren, > > > > i promise i choose a first level spm.mat. > > To be sure, i created a test .mat with one run for one > > subject... (click on 1st level, then specify the images and > > onset, etc...then run and estimate, thats all!)And i got the > > same error message. > > Moreover, when i review my model, the menu indicates clearly > > "Session1" and then my contrast name... > > > > > > > > 2008/4/1, d gitelman <[log in to unmask]>: > > > > It appears you may be choosing the SPM.mat of a second > > level model. First > > level models contain Sess fields. Please check your > > SPM.mat file. > > > > Darren > > > > > > > -----Original Message----- > > > From: SPM (Statistical Parametric Mapping) > > > [mailto:[log in to unmask]] On Behalf Of Rodolphe > > > Sent: Tuesday, April 01, 2008 7:54 AM > > > To: [log in to unmask] > > > Subject: [SPM] DCM problem > > > > > > Dear spmers, > > > > > > In order to do a dcm analysis, i click on the > dcm button > > > (With the last version of smp5) then i > specify my 1st level > > > spm.mat (for 1 subject), i specify a name for > the dcm matrix, > > > i give some vois and then matlab write the following > > error message : > > > > > > ??? Reference to non-existent field 'Sess'. > > > > > > Error in ==> spm_dcm_ui at 136 > > > Sess = SPM.Sess(xY(1).Sess); > > > > > > ??? Error using ==> spm_dcm_ui > > > Reference to non-existent field 'Sess'. > > > > > > ??? Error while evaluating uicontrol Callback > > > > > > I tried to find the problem without success, > the dcm tutorial > > > works fine but i cant see whats the > difference with my data... > > > > > > Thx, > > > > > > rodolphe > > > > > > > > > > > > > > > > > > > > > > > >