Dear Veronica,
The IBASPM toolbox seems fairly dated (supposedly only works with SPM2 and SPM5) and hasn't been updated in a very long time. It "overrides" the standard spm_select.m function with its own version, which has a now obsolete Matlab command in it: finite.
You could upate that file by replacing the following line (in the spm_select.m file of the IBASPM folder):
if ~finite(n(1)), n(1) = 0; end;
with
if ~isfinite(n(1)), n(1) = 0; end;
though there may be other instances where the toolbox uses outdated Matlab or SPM commands, and you may get further error messages down the line.
Best,
Andreas
>-----Original Message-----
>From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
>On Behalf Of Veronica Popescu
>Sent: 03 July 2014 10:43
>To: [log in to unmask]
>Subject: [SPM] IBASPM error at Input selection
>
>I am trying to run IBASPM under Linux on a 64-bit system with SPM8. In the
>GUI with all Atlasing tools when I click "browse" at Input images: I get the
>following error:
>??? Undefined function or method 'finite' for input arguments of type
>'double'.
>
>Error in ==> spm_select>selector at 79
>if ~finite(n(1)), n(1) = 0; end;
>
>Error in ==> spm_select at 62
> [t,sts] = selector(varargin{:});
>
>Error in ==> IBASPM_BrainVolComp>pushbutton3_Callback at 186
>[GMImages,sts] = spm_select([1 Inf],'image','Selecting Gray Matter
>Images','',dir);
>
>Error in ==> gui_mainfcn at 96
> feval(varargin{:});
>
>Error in ==> IBASPM_BrainVolComp at 42
> gui_mainfcn(gui_State, varargin{:});
>
>??? Error while evaluating uicontrol Callback
>
>I have no idea what to do. I read some similar threads, but they were left
>unanswered and they were from 2008-2010.
>I hope you can help me (soon).
>Thank you very much in advance!
>Best wishes,
>Veronica
|