Dear Michael,
The problem reported is that matlab tried to show an image containing
complex values. It appears that your design matrix contains complex
values. No idea how they got there. Did you make the design matrix in
SPM?
What happens if you try to plot the design matrix that is giving you
problems? That is, if you try:
load SPM_fMRIDesMtx;
imagesc(xX.X);
Does it do that?
Regards,
Alle Meije
> Hi SPMers
>
> We have recently installed the new service pack for Matlab
> r_13 and are running on a LINUX (9.0) platform.
>
> After successfully specifying and estimating a design using
> SPM2, we encounter this problem when attempting to generate results
> at the point of entering a design in the contrast manager (below).
> Does anyone know what the cause of this problem is?
>
> Regards - Mike
>
>
> SPM2: spm_getSPM (v2.50) 13:01:42 - 10/10/2003
> ----------------------------------------------------------------
> ??? Error while evaluating uicontrol Callback.
>
> ??? Error using ==> image
> Image CData can not be complex.
>
> Error in ==> /usr/local/spm2/spm_conman.m
> On line 940 ==> hDesMtxIm = image((varargin{2}.nKX+1)*32);
>
> Error in ==> /usr/local/spm2/spm_conman.m
> On line 909 ==> spm_conman('ImDesMtx',xX,H.hDesMtxAx)
> %-Depict DesMtx
>
> Error in ==> /usr/local/spm2/spm_conman.m
> On line 803 ==> [F,cF] =
> spm_conman('Initialise','on',xX,xCon,STATmode,n,Prompt,Mcstr,OK2chg);
>
> Error in ==> /usr/local/spm2/spm_getSPM.m
> On line 201 ==> [Ic,xCon] = spm_conman(xX,xCon,'T&F',Inf,...
>
> Error in ==> /usr/local/spm2/spm_results_ui.m
> On line 260 ==> [SPM,xSPM] = spm_getSPM;
--
Alle Meije Wink
Institute for Mathematics and Computing Science
University of Groningen
P.O. Box 800 9700 AV Groningen
Telephone: +31 50 363 71 27 Fax: +31 50 363 38 00
E-mail: [log in to unmask] WWW: http://www.cs.rug.nl/~wink
"Blind faith in your leaders, or in anything, will get you killed."
- Bruce Springsteen, "War," Live 1975-85
|