results of prepare_bemmodel

Brian Roach Brian.Roach at YALE.EDU
Wed Mar 14 23:25:06 CET 2007


FT users,

after running vol = prepare_bemmodel(cfg, mri)

where cfg =

             tissue: [1 2 3]
        numvertices: [1000 2000 3000]
       conductivity: [1 0.0125 1]
     isolatedsource: 3
             method: 'dipoli'
             dipoli: '/home/bjr39/FTsource/dipoli'

and mri =

           dim: [181 217 181]
         xgrid: [1x181 double]
         ygrid: [1x217 double]
         zgrid: [1x181 double]
       anatomy: [181x217x181 double]
     transform: [4x4 double]
           hdr: [1x1 struct]
           seg: [181x217x181 double]


I am trying to make figures of the surfaces with triplot.m:

 >> triplot(vol.bnd(1).pnt, vol.bnd(1).tri, 'faces_skin'); rotate3d
??? Subscript indices must either be real positive integers or logicals.

Error in ==> triplot at 38
h = plot(x(d), y(d),c,varargin{start:end});
--------------------------------------------------------------------------
I must have done something wrong along the way, but I am not sure what. Any
ideas?

thanks,
Brian



More information about the fieldtrip mailing list