Print

Print


Hi Carolyn,

my first bet: The number of scan specified in the SPM.mat (SPM.nscan) 
doesn't match the actual number of images.

Cheers,
Jan

Carolyn L. Fort wrote:
> Hello. Can anyone clarify the error message below for me? I'm running a
> previously specified SPM.mat at the individual subject level, having just
> inserted the data for this particular subject. I've used this SPM.mat file
> successfully with several other subjects' data, and I've also used this
> subject's data (*img and *hdr files) successfully in other models, so I'm
> puzzled.
> 
> Thanks, in advance, for any suggestions.
> 
> Carolyn
> 
> 
> ***************************************************************************
> Initialising parameters                 :                   ...computing???
> Index exceeds matrix dimensions.
> 
> Error in ==> C:\Program Files\MATLAB\toolbox\matlab\sparfun\spdiags.m
> On line 102  ==>       a = [a; i i+d(k) B(i+(m>=n)*d(k),k)];
> 
> Error in ==> C:\Program Files\MATLAB\spm2\spm_spm.m
> On line 419  ==> 		s     = spdiags(1./sqrt(diag(s)),0,nScan,nScan);
> 
> Error in ==> C:\Program Files\MATLAB\spm2\spm_spm.m
> On line 826  ==> 		SPM = spm_spm(SPM);
> 
> ??? Error while evaluating uicontrol Callback.
> ***************************************************************************
> 
> Carolyn L. Fort
> Research Specialist, Senior
> Department of Psychiatry
> University of Arizona
> PO Box 245002
> Tucson, AZ  85724-5002
> v: 520-626-8568
> f: 520-626-6050
> 

-- 
Jan Gläscher, Ph.D.         Div. Humanities & Social Sciences
+1 (626) 395-3898 (office)  Caltech, Broad Center, M/C 114-96
+1 (626) 395-2000 (fax)     1200 California Blvd
[log in to unmask]    Pasadena, CA 91125