Dear Imaruoka,
> I have one brief question about 'spm_regions.m 2.7'. I had a trouble
> when defining VOI for the second or later session (no trouble for the
> first session). My question is
> 1. 2.7 is the latest version of spm_region ?
Yes it is.
> I think
>
> j = [j xSDM.Sess{xY.Sess(i)}.row];
>
> is this a valid correction?
Yes it is, and is exactly what Michael Valet ended up doing.
> When I was trying to make a VOI extraction of a design matrix with
> multiple sessions, with your new version of spm_regions 2.7 00/10/04 it
> was not possible to do that. Debugging the script I detected that
> there is a minor bug at line 225 in spm_regions.m.
> > for i = 1:length(xY.Sess)
> > j = [j xSDM.Sess{xY.Sess(xY.Sess)}.row];
>
> ^^^^^^^
> It should be an "i" instead of "xY.Sess". Then it works fantastic ...
Thank you to both of you (the correction has been implemented here as
well) - Karl
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|