Error like "Error: OpenMEEG call: om_gain -EEG"

When I install openMEEG, errors is as following. the version of Matlab is R2021a win10 64
thank you


** Error: OpenMEEG call: om_gain -EEG
** "C:\Users\lixio.brainstorm\tmp\openmeeg_hminv.mat"
** "C:\Users\lixio.brainstorm\tmp\openmeeg_dsm.mat"
** "C:\Users\lixio.brainstorm\tmp\openmeeg_h2em.mat"
** "C:\Users\lixio.brainstorm\tmp\openmeeg_gain_eeg.mat"
** OpenMEEG error #-1073740791:
** om_gain version 2.4.0 compiled at Aug 22 2018 08:20:34 using OpenMP
** Executing using 6 threads.
**
** | ------ om_gain
** | -EEG
** | C:\Users\lixio.brainstorm\tmp\openmeeg_hminv.mat
** | C:\Users\lixio.brainstorm\tmp\openmeeg_dsm.mat
** | C:\Users\lixio.brainstorm\tmp\openmeeg_h2em.mat
** | C:\Users\lixio.brainstorm\tmp\openmeeg_gain_eeg.mat
** | -----------------------
** Using variable with name: matrix
**
** For help with OpenMEEG errors, please refer to the online tutorial:
** Tutorials/TutBem - Brainstorm


This bug is investigated in this thread: OpenMEEG error #-1073740791 - #21 by Francois

@papadop