<div> Dear Fieldtrip experts,<br>I would like to create a leadfield based on the standard brain provided by the fieldtrip package and standard electrode positions.</div>
<div>I do it like this :</div>
<div>      load standard_singleshell  % from template\headmodel</div>
<div>    cfg                         = [];<br>cfg.elec                 = sens;% also from template<br> cfg.vol                   = vol;</div>
<div> cfg.reducerank      = 3;<br>cfg.grid.resolution = 1;</div>
<div>[grid]                  = ft_prepare_leadfield(cfg);</div>
<div> </div>
<div>Finally I got the following error message.</div>
<div>converting units from 'mm' to 'cm'<br>??? Error using ==> ft_prepare_vol_sens at 495<br>unsupported volume conductor model for EEG</div>
<div>Error in ==> prepare_headmodel at 84<br>[vol, sens] = ft_prepare_vol_sens(vol, sens, 'channel',<br>cfg.channel, 'order', cfg.order);</div>
<div>Error in ==> ft_prepare_leadfield at 147<br>[vol, sens, cfg] = prepare_headmodel(cfg, data);</div>
<div> </div>
<div>but when I use  'standard_bem' (from template )is OK .<br> </div>
<div> Is anybody out there who could provide some support?<br>Thank you very much in advance,<br> Best,</div>
<div>mengtongxiao</div>