This is a "problem" caused by matlab obsolescence of the finite
command. You can create a function called: finite.m and place it in a
private folder in the wfu_pickatlas folder. You'll have to create the
private folder. The contents of the finite.m file should be:
function out = finite(in)
% wrapper function for finite that throws warnings and will be
discontinued
% in upcoming matlabs.
out = isfinite(in);
Another alternative is to use an earlier version of matlab (~2008a).
Best,
Ben Wagner
ANSIR LAB
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of Fan Cao
Sent: Thursday, January 28, 2010 12:07 PM
To: [log in to unmask]
Subject: [SPM] WFUpickatlas error
Hey all,
I have met a problem when using WFUpickatlas. Whenever I have it open,
spm5 can not show the whole brain coordinates. Everything is fine when I
do not have it open from toolbox. The error message is:
??? Error using ==> finite
FINITE is obsolete. Use ISFINITE instead.
Error in ==> wfu_spm_list5 at 462
while prod(size(find(finite(Z))))
Error in ==> spm_list at 10
x = wfu_spm_list5(varargin{1:end});
??? Error using ==> waitfor
Error while evaluating uicontrol Callback
Anybody knows how to solve this problem? Thank you.
Fan Cao
|