Hi Daniel,
>
> SPM2: spm_fmri_design (v2.34) 19:07:01 - 18/10/2006
> ----------------------------------------------------------------
>??? Cell contents reference from a non-cell array object.
>
>Error in ==> c:\spm2\spm_Volterra.m
>On line 51 ==> str =
sprintf('%s*bf(%i)',U(i).name{k},p);
This error just tells you, that the name variable should be a cell array,
which it is not.
To solve this problem you can define it as a cell array, by changing line
271 in tapv1_batch.m from:
conditions(1).names={'rest','hand1','hand2','block_onsets'};
to:
conditions(1).names={{'rest'},{'hand1'},{'hand2'},{'block_onsets'}};
Ok to be precise now you have a cell array of cell arrays.
Hope that helps,
Christian
|