> when trying to display some activation on a rendered brain I get the
> following error message:
>
> ??? Error while evaluating uicontrol Callback.
>
>
> ??? Error using ==> sparse
> Index into matrix is not an integer.
>
> Error in ==> /sw/mr/spm99/spm_render.m
> On line 157 ==> X0 = full(sparse(xyz(1,:),
> xyz(2,:), t0, d2(1), d2(2)));
>
> Error in ==> /sw/mr/spm99/spm.m
>
>
> What can I have done wrong?
You need to pick up the version of spm_render.m from the patches directory:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99_updates
Best regards,
-John
--
Dr John Ashburner.
Wellcome Department of Cognitive Neurology.
12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420
http://www.fil.ion.ucl.ac.uk/~john
mail: [log in to unmask]
|