Back to the main page.
Bug 2368 - openmeeg gives error with windows
Status | ASSIGNED |
Reported | 2013-11-06 15:19:00 +0100 |
Modified | 2017-04-13 15:02:22 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P3 normal |
Assigned to: | Lilla Magyari |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: | http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3282 |
Lilla Magyari - 2013-11-06 15:19:17 +0100
This bug relates to Kidist's email on the FT mailinglist: ----------------------------------------------------- Hi, I am working with the combined EEG and MEG recording and would like to do the forward model for the EEG. ... When I try to use openmeeg, vol.mat is missing from the vol structure giving an error message om_minverser.exe doesn't function anymore. ... Here are all the steps that I have followed. % reading MRI mri = ft_read_mri('msGAP724534-0002-00001-000192-01.img'); % segment the brain cfg = []; cfg.output = {'brain', 'skull', 'scalp'}; cfg.coordsys = ''; % here I use the RAS coordsys and for the origin 'i'- interauricular segmentedmri = ft_volumesegment(cfg, mri); segmentedmri.anatomy = mri.anatomy; % prepare mesh cfg = []; cfg.tissue = {'brain','skull', 'scalp'}; cfg.numvertices = [3000 2000 1000]; cfg.transform = segmentedmri.transform; bnd = ft_prepare_mesh(cfg, segmentedmri); % create head model cfg = []; cfg.method = 'openmeeg'; cfg.conductivity = [0.33 0.0041 0.33]; vol = ft_prepare_headmodel(cfg, bnd); figure; ft_plot_mesh(vol.bnd(1),'facecolor','none'); %brain figure; ft_plot_mesh(vol.bnd(2),'facecolor','none'); %skull figure; ft_plot_mesh(vol.bnd(3),'facecolor','none'); %scalp Any help? Thanks. Kidist ------------------------------------------------------------------ I have also tried to use 'openmeeg', and I got an error message (see below) when I used Matlab2011b on Windows. However, it run was running without errors from the Linux system. In any case, FieldTrip automatically added the fieldtrip/external/openmeeg folder to my matlab path. --------------------------------------------- --------------------------------------------- OpenMEEG binaries are not correctly installed Download OpenMEEG from http://gforge.inria.fr/frs/?group_id=435 See wiki page for installation instructions: http://fieldtrip.fcdonders.nl/development/openmeeg/testinginstallation --------------------------------------------- --------------------------------------------- Error using om_checkombin (line 25) OpenMEEG not found Error in ft_headmodel_openmeeg (line 98) om_checkombin; Error in ft_prepare_headmodel (line 237) vol = ft_headmodel_openmeeg(geometry, 'conductivity', cfg.conductivity, 'isolatedsource', cfg.isolatedsource); Lilla