<div dir="ltr">Thank you very much Robert. I tried your suggestion, and set the cfg.parameter='stat', still it gets stuck. As you mentioned, it maybe out of memory. I am now trying to change to a powerful one.<br><br>

<br>Feng <br><br><div class="gmail_quote">
On Tue, Apr 13, 2010 at 10:59 AM, Robert Oostenveld <span dir="ltr"><<a href="mailto:r.oostenveld@fcdonders.ru.nl" target="_blank">r.oostenveld@fcdonders.ru.nl</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Feng,<br>
<br>
I suspect that your computer is running out of memory while it is trying to interpolate all functional volumes onto the anatomical MRI grid. Instead of specifying<br>
<br>
cfg.parameter = 'all'<br>
<br>
I suggest that you only specify those parameters that you want to have interpolated. The negclusterslabelmat volume for example is not one that you want to have interpolated.<br>
<br>
best regards,<br>
Robert<div><div></div><div><br>
<br>
On 12 Apr 2010, at 15:55, gao zai wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Dear all,<br>
<br>
I am now working on the sourcestatistics of the LCMV beamfomer. After finished the volumenormalisation, sourcegrandaverage and sourcestatistics, now I want to plot the t-values to the anatomical MRI. However, when I run the ft_sourceinterpolate (codes see below), I wait for hours and response with the matlab informing that "reslicing and interpolating negclusterslabelmat "<br>






--------------------------------------<br>
%%statistics on the grandaverage<br>
cfg=[];<br>
cfg.dim         = gs42.dim;<br>
cfg.parameter   = 'nai';<br>
cfg.method      = 'montecarlo';<br>
cfg.statistic   = 'depsamplesT';<br>
cfg.correctm    = 'cluster';<br>
cfg.numrandomization = 100;<br>
cfg.alpha       = 0.05;<br>
cfg.tail        = 0;<br>
<br>
nsubj=length(gs42.trial);<br>
cfg.design(1,:) = [ones(1,nsubj) ones(1,nsubj)*2];<br>
cfg.design(2,:) = [1:nsubj 1:nsubj];<br>
<br>
cfg.ivar        = 1; % row of design matrix that contains independent variable (the conditrions)<br>
cfg.uvar        = 2; % row of design matrix that contains subjects number-2 groups<br>
<br>
stat = sourcestatistics(cfg, gs42,gs50);<br>
<br>
sMRI = read_mri(fullfile(spm('dir'), 'canonical', 'single_subj_T1.nii'));<br>
cfg = [];<br>
cfg.downsample = 2;<br>
cfg.parameter = 'all';<br>
statplot = ft_sourceinterpolate(cfg, stat, sMRI);<br>
--------------------------------------------------------------------------------------<br>
<br>
Does anybody how to deal with it? Thanks a lot in advance.<br>
<br>
Best,<br>
FENG<br></div></div><div>
----------------------------------<br>
<br>
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.<br>
<br>
</div><div><a href="http://listserv.surfnet.nl/archives/fieldtrip.html" target="_blank">http://listserv.surfnet.nl/archives/fieldtrip.html</a><br>
<br>
</div><a href="http://www.ru.nl/fcdonders/fieldtrip/" target="_blank">http://www.ru.nl/fcdonders/fieldtrip/</a><br>
<br>
</blockquote><div><div></div><div>
<br>
----------------------------------<br>
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also <a href="http://listserv.surfnet.nl/archives/fieldtrip.html" target="_blank">http://listserv.surfnet.nl/archives/fieldtrip.html</a> and <a href="http://www.ru.nl/neuroimaging/fieldtrip" target="_blank">http://www.ru.nl/neuroimaging/fieldtrip</a>.<br>






</div></div></blockquote></div><br></div>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>