[Gmsh] Using load_gmsh4.m to read cube.msh into Matlab

Abiti Adili aadili1 at lsu.edu
Fri Oct 12 08:15:36 CEST 2018


Dear Sir:

I am a  beginner in using GMSH.

In order to learn how I can export  msh file generated in Gmsh 4.0, I opened the cube.geo   from the  simple-geo under demos and used the  3D option in Mesh to generate tetrahedral mesh. Then , I tried to use  load_gmsh4.m in Matlab to read the msh file. But  I noticed that the matlab function is written for msh format version 1 or 2.

I am writing to ask if you  kindly give me  some directions on how I can export  msh format from Gmsh 4.0 into Matlab.

Is there any  matlab function or other way so that I can directly apply to the msh file to get desired output suitable for my use?

Thank you very much for your time.

Best,

Adil


More information about the gmsh mailing list