Convert Brainstorm FEM to Fieldtrip for EEG source modelling

Hi @MWB

What do you mean by headmodel?
is it the FEM mesh model (in the anatomical side of brainstorm) or the computed leadfield (in the functional side of brainstorm)?

So, in both case, you can export your "headmodel" to matlab, by right click on the item, then File ==> export to matlab. You will have the data as they are stored in the Brainstorm database.
From this step, you need to adapt this data to Fieldtrip format.

As far as I know, the current Fieldtrip functions can not read the FEM mesh from Brainstorm,
but it's not difficult to adapt it.

Could you explain which headmodel you need? (FEM head mesh or the FEM LF)

Best
Takfarinas