sorry, I put the indices at the wrong place. Try the following:
DCM.U.name = cellstr([SPM.Sess.U(2).name, SPM.Sess.U(4).name]);
Thilo
On Thu, 2013-04-11 at 12:52 +0100, carmen wrote:
> No, unfortunately, the following error message appears now:
>
>
>
> ??? Field reference for multiple structure elements that is followed by more reference blocks is an error.
>
> Error in ==> DCM_ModelCreation_Batch_R3_test2 at 53
> DCM.U.name = SPM.Sess.U.name([1 2]);
>
>
>
>
> Thank you for your help!!
|