Generating head surface and problem while exporting head surface to MATLAB

That's great already.

You are obtaining a FEM mesh, and you need to construct the surfaces now.
From Brainstorm, right-click on the FEM mesh, and then extract surfaces. You will then obtain the 5 surfaces with all the fields that you need.

1 Like