Dear John,
I had exactly the same problem last week (with Matlab 6 and Windows NT)
and found a solution at ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99_updates/.
There is an updated spm_render.m file that can be downloaded.
Best regards,
Esa Wallius
Tampere University of Technology, Finland
On Wed, 6 Jun 2001, John Woodard wrote:
> Dear List,
>
> I am having problems using the render option with SPM99 under Matlab 6 and
> Mandrake Linux 7.2 -- the program goes through "Formatting renderings" just
> fine, but balks at making the first picture. The following are the error
> messages that are output:
>
> SPM99: spm_render (v2.16) 14:10:23 - 06/06/2001
> ========================================================================
>
> SPM99: spm_getSPM (v2.35) 14:10:24 - 06/06/2001
> ----------------------------------------------------------------
> SPM computation :
> ...initialising
> ...computing ...done
> contrast structure : ...saved to xCon.mat
> ??? Error while evaluating uicontrol Callback.
>
> ??? Error using ==> sparse
> Index into matrix is not an integer.
>
> Error in ==> /home/spm99/spm_render.m
> On line 157 ==> X0 = full(sparse(xyz(1,:), xyz(2,:), t0, d2(1),
> d2(2)));
>
> Error in ==> /home/spm99/spm.m
> On line 1182 ==> evalin('base',CBs{v-1})
>
>
> Thanks in advance!
>
> John Woodard
> Chicago Medical School
>
|