OpenMEEG error #-1073740791

Hi,

I have the latest version of Brainstorm installed and OpenMEEG 2.4.1, and I get this error message upon trying to compute a head model:


** Error: OpenMEEG call: om_gain -EEG
** "C:\Users\Natasha.brainstorm\tmp\openmeeg_hminv.mat"
** "C:\Users\Natasha.brainstorm\tmp\openmeeg_dsm.mat"
** "C:\Users\Natasha.brainstorm\tmp\openmeeg_h2em.mat"
** "C:\Users\Natasha.brainstorm\tmp\openmeeg_gain_eeg.mat"
** OpenMEEG error #-1073740791:
** om_gain version 2.4.1 compiled at Aug 22 2018 19:47:41 using OpenMP
** Executing using 4 threads.
**
** | ------ om_gain
** | -EEG
** | C:\Users\Natasha.brainstorm\tmp\openmeeg_hminv.mat
** | C:\Users\Natasha.brainstorm\tmp\openmeeg_dsm.mat
** | C:\Users\Natasha.brainstorm\tmp\openmeeg_h2em.mat
** | C:\Users\Natasha.brainstorm\tmp\openmeeg_gain_eeg.mat
** | -----------------------
** Using variable with name: matrix

I have seen another post on this topic that seems to suggest the issue was old and was fixed with the newer versions of Brainstorm, but I am not finding this to be the case.

I appreciate any help is this matter

Best,
Natasha

@Alexandre ?

is the name for the matrix in the .mat file. Can you check that all openmeeg_*.mat contain a variable called matrix?

Alex

Hi Alex,

The openmeeg_*.mat files stored in C:\Users\Natasha.brainstorm\tmp are: openmeeg_dsm.mat, openmeeg_h2em.mat, openmeeg_hm.mat, openmeeg_hminv.mat. I can't see any .mat files with the variable matrix in them.

Many thanks,
Natasha

@ng666 what did you try? files are not present or they are broken?

Hello, I'm learning how to use brainstorm. There is an Error downloading OpenMEEG and I cannot find a solution in https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors. Error message box is below. Matlab version is R2015b and operaing system is Windows.


** Error: OpenMEEG call: om_gain -EEG
** "C:\Users\Administrator.brainstorm\tmp\openmeeg_hminv.mat"
** "C:\Users\Administrator.brainstorm\tmp\openmeeg_dsm.mat"
** "C:\Users\Administrator.brainstorm\tmp\openmeeg_h2em.mat"
** "C:\Users\Administrator.brainstorm\tmp\openmeeg_gain_eeg.mat"
** OpenMEEG error #-1073740791:
** om_gain version 2.4.1 compiled at Aug 22 2018 19:47:41 using OpenMP
** Executing using 2 threads.
**
** | ------ om_gain
** | -EEG
** | C:\Users\Administrator.brainstorm\tmp\openmeeg_hminv.mat
** | C:\Users\Administrator.brainstorm\tmp\openmeeg_dsm.mat
** | C:\Users\Administrator.brainstorm\tmp\openmeeg_h2em.mat
** | C:\Users\Administrator.brainstorm\tmp\openmeeg_gain_eeg.mat
** | -----------------------
** Using variable with name: matrix
**
** For help with OpenMEEG errors, please refer to the online tutorial:
** https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors


Thank you in advance!
Wang

@wx1995 I moved your question to a forum thread relating exactly the same error.
Please see @Alexandre's debugging request.

@ng666 Have you fixed your problems?

@wx1995 For further debugging, please follow these instructions:
https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Solution_not_found