Print

Print


Hi, All

Every time I try to enter images into a VBM2 cross sectional analysis I get
this error:

>> Use the 'Estimate' button to estimate parameters
>> ??? Attempted to access CPos(-2.14748e+09); index must be a positive
integer or
>> logical.
>>
>> Error in ==> spm_input at 1918
>>                         hCPos(1:nPerPos(i),i) = H(YPos==CPos(i))';
>>
>> Error in ==> spm_input at 1940
>>         [CPos,hCPos] = spm_input('!CurrentPos',F);
>>
>> Error in ==> spm_input at 1975
>> [NPos,CPos,hCPos] = spm_input('!NextPos',YPos,F,CmdLine);
>>
>> Error in ==> spm_input at 641
>>                 YPos = spm_input('!SetNextPos',YPos,Finter,CmdLine);
>>
>> Error in ==> cg_spm_ui at 638
>>     if isinf(nC(i)), nC(i)=spm_input(['# ',dstr{i},'s'],GUIpos,'w1'); end
>>
>> ??? Error while evaluating uimenu Callback.

Does anyone know why this error is occuring? I was able to to analyses on
these same images just a few day ago with no problems and I've never had
this problem before. I'm using MATLAB 7.1 and SPM2. Any and all input on the
nature of this error and how to fix it is appreciated!

Thank you,

Cyrus