[FieldTrip] OpenMEEG for MEG from Fieldtrip demo script

Abdallah Qusaibe abdallah.qusaibe at gmail.com
Sat Jul 4 13:08:47 CEST 2020


I run the demo script of OpenMEEG for MEG from Fieldtrip demo script
I just changed the the  cfg.method from openmeeg to singleshell, I have the
below error,
thanks for help


the call to "ft_prepare_headmodel" took 0 seconds
using gradiometers specified in the configuration
computing surface normals
creating sourcemodel based on user specified dipole positions
using gradiometers specified in the configuration
1 dipoles inside, 0 dipoles outside brain
the call to "ft_prepare_sourcemodel" took 3 seconds
computing leadfield
Error using  :
For colon operator with char operands, first and last operands must be
char.

Error in ft_prepare_leadfield (line 295)
        sourcemodel.leadfield{thisindx} =
        tmp(:,(i-1)*cfg.reducerank+(1:cfg.reducerank));

Error in openmeeg_meg_leadfield_example (line 70)
sourcemodel = ft_prepare_leadfield(cfg);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200704/ef82eb18/attachment.htm>


More information about the fieldtrip mailing list