Hi Watson,
I had luckily avoid this problem by restarting Matlab, though I tried to clean up the memory and path.
I did a brief tracking of this problem, and found the SPM.xCon.eidf was calculated to be a complex number. But I didn't track why and how this could happen.
Cheers!
Ze
----------sent by wemail ----
Ze Wang, Ph.D
Assistant Professor of Biomedical Engineering,
Treatment Research Center,
Dept of Psychiatry,
Med School,
University of Pennsylvania,
3900 Chestnut St.
Philadelphia, PA 19104
Tel: 215-222-3200-123
Fax: 215-386-6770
Tel at CFN: 215-662-7341
----- Original Message -----
From: Christa Watson <[log in to unmask]>
To: [log in to unmask]
Sent: Tue, 7 Apr 2009 19:25:41 -0400 (EDT)
Subject: Re: [SPM] error of defining contrast using contrast manager in spm5
Hi Ze,
I think we are having the same trouble with our paired t test designs too,
it has happened a few times now. I am attaching some jpegs and our stats.mat
file to confirm. It is strange because often what I will do is use the same
stats.mat file but simply replace the input data and the vector of a
covariate and one will work while the other won't.
When I try to get the results from the SPM.mat file I will receive the error
below and will encounter the attached empty contrast manager:
>>
SPM5: spm_results_ui (v$Rev: 816 $) 16:05:32 - 07/04/2009
=======================================================================
??? Error using ==> image
Error using ==> image
Image CData can not be complex.
Error in ==> spm_conman at 975
hDesMtxIm = image((varargin{2}.nKX+1)*32);
Error in ==> spm_conman at 944
spm_conman('ImDesMtx',xX,H.hDesMtxAx) %-Depict DesMtx
Error in ==> spm_conman at 812
[F,cF] = spm_conman('Initialise','on',SPM,STATmode,n,Prompt,Mcstr,OK2chg);
Error in ==> spm_getSPM at 248
[Ic,xCon] = spm_conman(SPM,'T&F',Inf,...
Error in ==> spm_results_ui at 274
[SPM,xSPM] = spm_getSPM;
??? Error while evaluating uicontrol Callback.
If anyone has any thoughts, please advise.
Thank you very much,
Christa
Center for Interdisciplinary Brain Sciences Research
Stanford University
Dept. of Psychiatry and Behavioral Sciences
phone: (650) 736-0732
email: [log in to unmask]
|